~ubuntu-branches/ubuntu/maverick/libhtml-wikiconverter-kwiki-perl/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-28 23:26:44 UTC
  • Revision ID: james.westby@ubuntu.com-20080628232644-duno7aunkwu486nw
Tags: 0.51-1
Initial official release. Closes: bug#448912.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- mode: makefile; coding: utf-8 -*-
 
3
# Copyright © 2007 Jonas Smedegaard <dr@jones.dk>
 
4
 
 
5
# See debian/README.cdbs-tweaks for info on local overrides
 
6
include debian/cdbs/1/rules/upstream-tarball.mk
 
7
include debian/cdbs/1/rules/copyright-check.mk
 
8
include debian/cdbs/1/rules/buildinfo.mk
 
9
include /usr/share/cdbs/1/rules/debhelper.mk
 
10
# Put perlmodule.mk after debhelper.mk to dh_clean temp files not in MANIFEST
 
11
include /usr/share/cdbs/1/class/perlmodule.mk
 
12
 
 
13
DEB_UPSTREAM_PACKAGE = HTML-WikiConverter-Kwiki
 
14
DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
 
15
DEB_UPSTREAM_TARBALL_MD5 = 27f01c2aeaeaa9e1e0f4f62adc54b0cf
 
16
 
 
17
# Needed both by upstream build process and at runtime
 
18
#TODO: Automatically include these as dependencies to debian/control
 
19
dependencies = libhtml-wikiconverter-perl (>= 0.60), libparams-validate-perl, liburi-perl
 
20
 
 
21
# Needed by upstream build process
 
22
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(dependencies), libtest-simple-perl
 
23
# Additional undocumented upstream needs
 
24
CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libfile-spec-perl, libhtml-parser-perl, libtest-pod-perl (>= 1.14), libtest-pod-coverage-perl (>= 1.04)
 
25
 
 
26
# Fix double cdbs build-dependencies
 
27
CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\|0.4.27\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//')