]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Document how to write comments in makefile rules.
authorBruno Haible <bruno@clisp.org>
Fri, 18 Jun 2010 22:06:37 +0000 (00:06 +0200)
committerEric Blake <eblake@redhat.com>
Wed, 23 Jun 2010 02:40:53 +0000 (20:40 -0600)
* doc/autoconf.texi (Comments in Make Rules): Mention a workaround
syntax.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
doc/autoconf.texi

index c74488deb8738ed7ed15df0fc10df06ec3508654..855324bb550c60d918cc8383817e853aa9e3f52e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-22  Bruno Haible  <bruno@clisp.org>
+
+       Document how to write comments in makefile rules.
+       * doc/autoconf.texi (Comments in Make Rules): Mention a workaround
+       syntax.
+
 2010-06-22  Ben Pfaff  <blp@cs.stanford.edu>
 
        Document how to propogate variables to submakes.
index 5e0d754d48741b180c4727af4de25c657f35b84e..a7ccb68932b4aafa69a86ae0513ba05f566841d8 100644 (file)
@@ -18965,6 +18965,14 @@ all:
         # foo
 @end example
 
+As a workaround, you can use the @command{:} no-op command with a string
+argument that gets ignored:
+
+@example
+all:
+        : "foo"
+@end example
+
 @node obj/ and Make
 @section The @file{obj/} Subdirectory and Make
 @cindex @file{obj/}, subdirectory