* Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
# Another way to set excludes.
if (exists $ENV{DH_ALWAYS_EXCLUDE} && length $ENV{DH_ALWAYS_EXCLUDE}) {
- push @{$dh{EXCLUDE}}, $ENV{DH_ALWAYS_EXCLUDE};
+ push @{$dh{EXCLUDE}}, split(":", $ENV{DH_ALWAYS_EXCLUDE});
}
# Generate EXCLUDE_FIND.
DH_ALWAYS_EXCLUDE=CVS in debian/rules, to make it take effect wherever
your package is built.
+Multiple things to exclude can be separated with colons, as in
+DH_ALWAYS_EXCLUDE=CVS:.svn
+
=back
=head1 SEE ALSO
+debhelper (4.1.40) unstable; urgency=low
+
+ * Fix build with 077 umask. Closes: #187757
+ * Allow colons between multiple items in DH_ALWAYS_EXCLUDE.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 6 Apr 2003 14:30:48 -0400
+
debhelper (4.1.39) unstable; urgency=low
* Add calls to dh_installcatalogs to example rules files. Closes: #186819
s/#LIST#/$$collect/; \
print; \
}; \
- }' `find . -type f -perm +1 -maxdepth 1 -name "dh_*" | sort` > debhelper.7
+ }' `find . -type f -perm +100 -maxdepth 1 -name "dh_*" | sort` > debhelper.7
# Turn all executables into man pages.
- find . -type f -perm +1 -maxdepth 1 -name "dh_*" \
+ find . -type f -perm +100 -maxdepth 1 -name "dh_*" \
-exec pod2man -c Debhelper -r "$(VERSION)" {} {}.1 \;
printf "package Debian::Debhelper::Dh_Version;\n\$$version='$(VERSION)';" > \
Debian/Debhelper/Dh_Version.pm
foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
if (exists $ENV{DH_ALWAYS_EXCLUDE} && length $ENV{DH_ALWAYS_EXCLUDE}) {
- complex_doit("find $tmp -name $ENV{DH_ALWAYS_EXCLUDE} | xargs rm -rf");
+ complex_doit("find $tmp -name $_ | xargs rm -rf")
+ foreach split(":", $ENV{DH_ALWAYS_EXCLUDE});
}
doit("dpkg-deb", @{$dh{U_PARAMS}}, "--build", $tmp, $dh{DESTDIR}.$dh{FILENAME});
}