summaryrefslogtreecommitdiff
path: root/debhelper.pod
diff options
context:
space:
mode:
authorjoey <joey>2002-05-19 03:06:41 +0000
committerjoey <joey>2002-05-19 03:06:41 +0000
commit6acd7f22222118dc5f51c251bd0078edbe280e87 (patch)
tree141f8d946118eb548ad6e19b6a62dd63bf398763 /debhelper.pod
parent822faec6d81321d23b3e75c018f0308fd006d1b2 (diff)
r522: * Set DH_ALWAYS_EXCLUDE=CVS and debhelper will exclude CVS directories
from processing by any command that takes a -X option, and dh_builddeb will also go in and rm -rf any that still sneak into the build tree. * dh_install: A patch from Eric Dorland <eric@debian.org> adds support for --sourcedir, which allows debian/package.files files to be moved over to debian/package.install, and just work. Closes: #146847 * dh_movefiles: don't do file tests in no-act mode. Closes: #144573 * dh_installdebconf: pass --drop-old-templates to debconf-mergetemplate. Means debhelper has to depend on debconf-utils 1.1.1.
Diffstat (limited to 'debhelper.pod')
-rw-r--r--debhelper.pod13
1 files changed, 13 insertions, 0 deletions
diff --git a/debhelper.pod b/debhelper.pod
index d8efb529..67cfbe73 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -354,6 +354,19 @@ older debhelpers will ignore it and do things you don't want them to. One very
good way to set DH_OPTIONS is by using "Target-specific Variable Values" in
your debian/rules file. See the make documentation for details on doing this.
+=item DH_ALWAYS_EXCLUDE
+
+If set, this adds the value the variable is set to to the -X options of all
+commands that support the -X option. Moreover, dh_builddeb will rm -rf
+anything that matches the value in your package build tree.
+
+This can be useful if you are doing a build from a CVS source tree, in
+which case setting DH_ALWAYS_EXCLUDE=CVS will prevent any CVS directories
+from sneaking into the package you build. Or, if a package has a source
+tarball that (unwisely) includes CVS directories, you might want to export
+DH_ALWAYS_EXCLUDE=CVS in debian/rules, to make it take effect wherever
+your package is built.
+
=back
=head1 SEE ALSO