summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorjoey <joey>2005-11-09 20:43:45 +0000
committerjoey <joey>2005-11-09 20:43:45 +0000
commit32196487a6c9e07e600e4f9f926d1bff83af64fc (patch)
tree0200c6eeb3a96b030b8a3661bb997b7574f8b381 /debian/rules
parent466cc4e73bda6aa1347133f3acbf4aaf2cca44cf (diff)
r1818: releasing version 5.0.5
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules10
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 0457356..c9b186e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,11 @@ PERLLIBDIR=$(shell perl -MConfig -e 'print $$Config{vendorlib}')
POD2MAN=pod2man -c Debhelper -r "$(VERSION)"
-build: test build-stamp
+version:
+ printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';" > \
+ Debian/Debhelper/Dh_Version.pm
+
+build: version test build-stamp
build-stamp:
find . -maxdepth 1 -type f -perm +100 -name "dh_*" \
-exec $(POD2MAN) {} {}.1 \;
@@ -52,8 +56,6 @@ build-stamp:
$(POD2MAN) --section=7 > debhelper.$$lang.7; \
done
- printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';" > \
- Debian/Debhelper/Dh_Version.pm
touch build-stamp
clean:
@@ -62,7 +64,7 @@ clean:
./run dh_clean *.1 *.7 *-stamp Debian/Debhelper/Dh_Version.pm
rm -rf man
-test: test-stamp
+test: version test-stamp
test-stamp:
./run dh_clean
./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ } @ARGV' t/*