]> git.donarmstrong.com Git - debhelper.git/commitdiff
Fix example. Closes: #627534
authorJoey Hess <joey@kitenet.net>
Sat, 21 May 2011 19:25:49 +0000 (15:25 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 21 May 2011 19:37:58 +0000 (15:37 -0400)
debian/changelog
dh

index 9fd5122b36386ad192b0054ffc3531cf1ca6be21..677165aaaac7f19e901de210609db96173e72ca4 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (8.1.7) UNRELEASED; urgency=low
+
+  * Fix example. Closes: #627534
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 21 May 2011 15:24:19 -0400
+
 debhelper (8.1.6) unstable; urgency=low
 
   * dh_ucf: Fix missing space before ']'s in postrm autoscript.
diff --git a/dh b/dh
index 921ef558e59023bd158cf5c516215602698d8574..50e0f14dbd90895295b82c98d08627da0aba349b 100755 (executable)
--- a/dh
+++ b/dh
@@ -240,16 +240,19 @@ L<dh_listpackages(1)> to test what is being built. For example:
        endif
 
 Finally, remember that you are not limited to using override targets in the
-rules file when using B<dh>. You can also explicitly define any of the regular
+rules file when using B<dh>. You can also explicitly define the regular
 rules file targets when it makes sense to do so. A common reason to do this
-is if your package needs different B<build-arch> and B<build-indep> targets. For
-example, a package with a long document build process can put it in
-B<build-indep> to avoid build daemons redundantly building the documentation.
+is if your package needs different B<build-arch> and B<build-indep> targets.
+For example, a package with a long document build process can put it in
+B<build-indep>.
 
        #!/usr/bin/make -f
        %:
                dh $@
        
+       binary: binary-arch binary-indep ;
+       binary-arch:: build-arch
+       binary-indep:: build-indep
        build: build-arch build-indep ;
        build-indep:
                $(MAKE) docs