summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-01-27 20:01:27 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-01-27 20:01:27 -0500
commit48b71fb021ac6e60c7baf52026ee77c3872553cc (patch)
tree8ce4c13bc46ed221c3b6a58ea4b36d5d9dc1f6bf /dh
parent4c8300f4c02110170360cc8a68bab3d85fc3cd46 (diff)
add --builddirectory example
Diffstat (limited to 'dh')
-rwxr-xr-xdh7
1 files changed, 7 insertions, 0 deletions
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.