]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh: Add dh_auto_configure parameter example. Closes: #645335
authorJoey Hess <joey@kitenet.net>
Fri, 14 Oct 2011 16:04:01 +0000 (12:04 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 14 Oct 2011 16:04:01 +0000 (12:04 -0400)
debian/changelog
dh

index 85c49b70b64f7a2aaf197e1189b6810c4c2631f8..9dbf38057cce9258bca604701cf83612e1f92d57 100644 (file)
@@ -2,6 +2,7 @@ debhelper (8.9.9) UNRELEASED; urgency=low
 
   * dh_auto_build: Use target architecture for build directory name.
     Closes: #644553 Thanks, Tom Hughes
+  * dh: Add dh_auto_configure parameter example. Closes: #645335
 
  -- Joey Hess <joeyh@debian.org>  Thu, 06 Oct 2011 19:26:08 -0400
 
diff --git a/dh b/dh
index 3bcd069cadad6593e9d997942f277d5f20d3eb04..4eae44484842008b71dc50dfcdd0c0a7f97a2a1b 100755 (executable)
--- a/dh
+++ b/dh
@@ -87,16 +87,16 @@ commands work with no additional options.
 
 Often you'll want to pass an option to a specific debhelper command. The
 easy way to do with is by adding an override target for that command.
-       
+
        #!/usr/bin/make -f
        %:
                dh $@
-
+       
        override_dh_strip:
                dh_strip -Xfoo
-               
-       override_dh_installdocs:
-               dh_installdocs README TODO
+       
+       override_dh_auto_configure:
+               dh_auto_configure -- --with-foo --disable-bar
 
 Sometimes the automated L<dh_auto_configure(1)> and L<dh_auto_build(1)>
 can't guess what to do for a strange package. Here's how to avoid running