From: Joey Hess Date: Mon, 29 Jun 2009 00:04:32 +0000 (-0400) Subject: add example X-Git-Tag: 7.3.0~23 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=78c45a7a290d4ee54e34f069fb49fdd36054b2ce;p=debhelper.git add example --- 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.