summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-28 20:04:32 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-28 20:04:32 -0400
commit78c45a7a290d4ee54e34f069fb49fdd36054b2ce (patch)
tree283a6ff9759d91cc970479ea0e1030142ae1d448
parent13e1de542d940506fdad6f14620131310bd8ec11 (diff)
add example
-rwxr-xr-xdh10
1 files changed, 10 insertions, 0 deletions
diff --git a/dh b/dh
index 35fedbb..bcd5b02 100755
--- a/dh
+++ b/dh
@@ -179,6 +179,16 @@ sequence addons like this:
%:
dh --with quilt $@
+Here is an example of overriding where the dh_auto_* commands find
+the package's source, for a package where the source is located in a
+subdirectory. It also forces use of perl's Module::Build build system,
+which can be necessary if debhelper wrongly detects that the package
+uses MakeMaker.
+
+ #!/usr/bin/make -f
+ %:
+ dh --sourcedirectory=src --buildsystem=perl_build $@
+
=cut
# Stash this away before init modifies it.