diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-28 20:04:32 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-28 20:04:32 -0400 |
commit | 78c45a7a290d4ee54e34f069fb49fdd36054b2ce (patch) | |
tree | 283a6ff9759d91cc970479ea0e1030142ae1d448 | |
parent | 13e1de542d940506fdad6f14620131310bd8ec11 (diff) | |
download | debhelper-78c45a7a290d4ee54e34f069fb49fdd36054b2ce.tar.gz |
add example
-rwxr-xr-x | dh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |