From: Joey Hess Date: Thu, 19 Feb 2009 23:40:59 +0000 (-0500) Subject: remove -B from examples for now X-Git-Tag: 7.2.0~1^2~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a352c47d79ffa29ce2ab38eeebb1ab7babae6393;p=debhelper.git remove -B from examples for now There is some concern that passing -B to make may violate debian policy. (cherry picked from commit 09090c86ea099008990bc5a9a14e1ac35bb1e584) --- diff --git a/debian/rules b/debian/rules index 23b782b..faeac03 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,4 @@ -#!/usr/bin/make -Bf +#!/usr/bin/make -f # If you're looking for an example debian/rules that uses debhelper, see # the examples directory. # diff --git a/dh b/dh index bc5cf56..611e232 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 -Bf + #!/usr/bin/make -f %: 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 -Bf + #!/usr/bin/make -f %: 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 -Bf + #!/usr/bin/make -f %: 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 -Bf + #!/usr/bin/make -f %: dh $@ @@ -185,7 +185,7 @@ after a particular debhelper command is run. 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 -Bf + #!/usr/bin/make -f %: dh --with python-central