]> git.donarmstrong.com Git - debhelper.git/commitdiff
add autotools_dev example
authorJoey Hess <joey@kitenet.net>
Sun, 6 Jun 2010 22:21:51 +0000 (18:21 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 6 Jun 2010 22:21:51 +0000 (18:21 -0400)
dh

diff --git a/dh b/dh
index 8327b64a31acd40be9bf5173058bf8589241f9b5..08a66bb2a25f7e01f082e8598d691de3cb833314 100755 (executable)
--- a/dh
+++ b/dh
@@ -167,6 +167,15 @@ default. This is how to use dh_pycentral instead.
        %:
                dh $@ --with python-central
 
+If your package uses autotools and you want to freshen config.sub and
+config.guess with newer versions from the autotools-dev package
+at build time, you can use some commands provided in autotools-dev
+that automate it, like this.
+
+       #!/usr/bin/make -f
+       %:
+               dh $@ --with autotools_dev
+
 Here is how to force use of perl's Module::Build build system,
 which can be necessary if debhelper wrongly detects that the package
 uses MakeMaker.