* automake.in ($IGNORE_PATTERN): Allow spaces before comments
authorPavel Roskin <proski@gnu.org>
Mon, 14 May 2001 16:15:03 +0000 (16:15 +0000)
committerPavel Roskin <proski@gnu.org>
Mon, 14 May 2001 16:15:03 +0000 (16:15 +0000)
beginning with `##'.
* automake.texi (General Operation): Document it.

ChangeLog
automake.in
automake.texi
stamp-vti
version.texi

index 5f121c0..4eae378 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-13  Pavel Roskin  <proski@gnu.org>
+
+       * automake.in ($IGNORE_PATTERN): Allow spaces before comments
+       beginning with `##'.
+       * automake.texi (General Operation): Document it.
+
 2001-05-13  Tom Tromey  <tromey@redhat.com>
 
        Reported by Rainer Orth:
index 2d385b3..a1627ff 100755 (executable)
@@ -110,7 +110,7 @@ my $prefix = "@prefix@";
 my $libdir = "@datadir@/@PACKAGE@";
 
 # String constants.
-my $IGNORE_PATTERN = '^##([^#\n].*)?\n';
+my $IGNORE_PATTERN = '^\s*##([^#\n].*)?\n';
 my $WHITE_PATTERN = '^\s*$';
 my $COMMENT_PATTERN = '^#';
 my $TARGET_PATTERN='[$a-zA-Z_.][-.a-zA-Z0-9_(){}/$]*';
index 89faa18..e655cbb 100644 (file)
@@ -271,8 +271,8 @@ contents of @code{foo_SOURCES}.
 @cindex Comment, special to Automake
 
 Automake also allows a form of comment which is @emph{not} copied into
-the output; all lines beginning with @samp{##} are completely ignored by
-Automake.
+the output; all lines beginning with @samp{##} (leading spaces allowed)
+are completely ignored by Automake.
 
 It is customary to make the first line of @file{Makefile.am} read:
 
index 1644b3a..0f1c4f8 100644 (file)
--- a/stamp-vti
+++ b/stamp-vti
@@ -1,4 +1,4 @@
-@set UPDATED 13 May 2001
+@set UPDATED 14 May 2001
 @set UPDATED-MONTH May 2001
 @set EDITION 1.4e
 @set VERSION 1.4e
index 1644b3a..0f1c4f8 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 13 May 2001
+@set UPDATED 14 May 2001
 @set UPDATED-MONTH May 2001
 @set EDITION 1.4e
 @set VERSION 1.4e