diff options
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -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 |