From 48b71fb021ac6e60c7baf52026ee77c3872553cc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 27 Jan 2010 20:01:27 -0500 Subject: [PATCH 1/1] add --builddirectory example --- dh | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.39.2