]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
add parallel option
[debhelper.git] / 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.