From: Joey Hess Date: Thu, 28 Jan 2010 01:01:27 +0000 (-0500) Subject: add --builddirectory example X-Git-Tag: 7.4.12~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=48b71fb021ac6e60c7baf52026ee77c3872553cc;p=debhelper.git add --builddirectory example --- diff --git a/dh b/dh index 61ea0aa..cf0baa5 100755 --- a/dh +++ b/dh @@ -200,6 +200,13 @@ subdirectory. %: dh $@ --sourcedirectory=src +And here is an example of how to tell the dh_auto_* commands to build +in a subdirectory, which will be removed on clean. + + #!/usr/bin/make -f + %: + dh $@ --builddirectory=build + Finally, here is a way to prevent dh from running several commands that you don't want it to run, by defining empty override targets for each command.