From 12fc22759ba2a1dc5f22a938a639913a554297cc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 19 Jun 2010 00:06:37 +0200 Subject: [PATCH 1/2] Document how to write comments in makefile rules. --- ChangeLog | 6 ++++++ doc/autoconf.texi | 8 ++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 52a7bb1..2dbf4ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2010-06-18 Bruno Haible + Document how to write comments in makefile rules. + * doc/autoconf.texi (Comments in Make Rules): Mention a workaround + syntax. + +2010-06-18 Bruno Haible + Document sed -e limitation. * doc/autoconf.texi (Limitations of Usual Tools): Mention portability problem of sed -e option with script fragments. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index eba61f4..90457f1 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -18937,6 +18937,14 @@ all: # foo @end example +As a workaround, you can use the @command{:} no-op command with a string +argument that gets ignored: + address@hidden +all: + : "foo" address@hidden example + @node obj/ and Make @section The @file{obj/} Subdirectory and Make @cindex @file{obj/}, subdirectory -- 1.6.3.2