summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-03-04 15:36:41 -0500
committerJoey Hess <joey@gnu.kitenet.net>2010-03-04 15:36:41 -0500
commit38643554bf86b8d1b63632e37d9865bd33891a4b (patch)
treec5e2f1f315ca1a245704ece081a06a23234bfd46 /dh
parent1ef512d6ce5d593c7fab73e6523ef9c07de8de6f (diff)
add parallel option
Diffstat (limited to 'dh')
-rwxr-xr-xdh7
1 files changed, 7 insertions, 0 deletions
diff --git a/dh b/dh
index 2b60be5d..bcac8da8 100755
--- a/dh
+++ b/dh
@@ -207,6 +207,13 @@ in a subdirectory, which will be removed on clean.
%:
dh $@ --builddirectory=build
+If your package can be built in parallel, you can support parallel building
+as follows. Then I<dpkg-buildpackage -j> will work.
+
+ #!/usr/bin/make -f
+ %:
+ dh $@ --parallel
+
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.