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-17 12:50:42 -0500
commit8cdac50db64b2f2d6aacdcfc4683fdcf79cee629 (patch)
treef4644274b9a3fa7a65baa025100156d7d40d847d /dh
parent057cdfd0ff9f4bc6f7c07cf4968a2ef52a59d0c0 (diff)
use -Bf in all examples
Diffstat (limited to 'dh')
-rwxr-xr-xdh19
1 files changed, 5 insertions, 14 deletions
diff --git a/dh b/dh
index f030fa5..b4690ef 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