summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-02-17 12:50:42 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-02-27 15:13:46 -0500
commitc75b574263d91c9c2cff59229550e893dec4fbc8 (patch)
treefde6deb7e24b81060b0c17ad270991d20246fecd /dh
parent4d38e9c71cd0f8e345cbfbc23ea1122c3f8681c1 (diff)
use -Bf in all examples
(cherry picked from commit 8cdac50db64b2f2d6aacdcfc4683fdcf79cee629)
Diffstat (limited to 'dh')
-rwxr-xr-xdh19
1 files changed, 5 insertions, 14 deletions
diff --git a/dh b/dh
index f67aeb35..ea541b18 100755
--- a/dh
+++ b/dh
@@ -140,14 +140,14 @@ anything:
This is a very simple rules file, for packages where the default sequences of
commands work with no additional options.
- #!/usr/bin/make -f
+ #!/usr/bin/make -Bf
%:
dh $@
Often you'll want to pass an option to a specific debhelper command. The
easy way to do with is by adding an override target for that command.
- #!/usr/bin/make -f
+ #!/usr/bin/make -Bf
%:
dh $@
@@ -161,7 +161,7 @@ Sometimes the automated dh_auto_configure and dh_auto_build can't guess
what to do for a strange package. Here's how to avoid running either
and instead run your own commands.
- #!/usr/bin/make -f
+ #!/usr/bin/make -Bf
%:
dh $@
@@ -174,7 +174,7 @@ and instead run your own commands.
Another common case is wanting to do something manually before or
after a particular debhelper command is run.
- #!/usr/bin/make -f
+ #!/usr/bin/make -Bf
%:
dh $@
@@ -182,19 +182,10 @@ after a particular debhelper command is run.
dh_fixperms
chmod 4755 debian/foo/usr/bin/foo
-If the package's source tree might get files with names
-like build or clean in it, the rules file would not
-run targets with the same names. This issue can be worked
-around by passing -B to make.
-
- #!/usr/bin/make -Bf
- %:
- dh $@
-
If your package is a python package, dh will use dh_pysupport by
default. This is how to use dh_pycentral instead.
- #!/usr/bin/make -f
+ #!/usr/bin/make -Bf
%:
dh --with python-central