]> git.donarmstrong.com Git - debhelper.git/commitdiff
add parallel option
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 4 Mar 2010 20:36:41 +0000 (15:36 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 4 Mar 2010 20:36:41 +0000 (15:36 -0500)
dh

diff --git a/dh b/dh
index 2b60be5d4ffc701a45bb95ca01fff14f5fbffa2f..bcac8da8fafee7ad968f5ab8dc4bd3ea97086fdc 100755 (executable)
--- 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.