+debhelper (5.0.5) unstable; urgency=low
+
+ * Create Dh_Version.pm before running syntax test. Closes: #338337
+
+ -- Joey Hess <joeyh@debian.org> Wed, 9 Nov 2005 15:41:06 -0500
+
debhelper (5.0.4) unstable; urgency=low
* Remove hardcoded paths to update-modules and gconf-schemas in various
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 \;
$(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:
./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/*
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2005-11-08 16:41-0500\n"
+"POT-Creation-Date: 2005-11-09 15:41-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
plan(tests => (@progs + @libs));
foreach my $file (@progs, @libs) {
+ print "# Testing $file\n";
ok(system("perl -c $file >/dev/null 2>&1"), 0);
}