From: Bruno Haible Date: Fri, 18 Jun 2010 22:06:37 +0000 (+0200) Subject: Document how to write comments in makefile rules. X-Git-Tag: v2.66~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b2b2056e4f77313bad613d7bf18ab63f942606;p=thirdparty%2Fautoconf.git Document how to write comments in makefile rules. * doc/autoconf.texi (Comments in Make Rules): Mention a workaround syntax. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index c74488de..855324bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-06-22 Bruno Haible + + Document how to write comments in makefile rules. + * doc/autoconf.texi (Comments in Make Rules): Mention a workaround + syntax. + 2010-06-22 Ben Pfaff Document how to propogate variables to submakes. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 5e0d754d..a7ccb689 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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