[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Fix TARGET_PATTERN
From: |
Ralf Wildenhues |
Subject: |
FYI: Fix TARGET_PATTERN |
Date: |
Sun, 30 Sep 2007 06:18:27 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello,
`3dldf' is a valid target name. I'm checking this in on Automake
branch-1-10 and HEAD.
Cheers, and thanks for the report,
Ralf
* automake.in (TARGET_PATTERN): Allow leading digit.
* tests/exeext3.test: Adjust to expose this.
Report by Claudio Fontana and Laurence Finston.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1648
diff -u -r1.1648 automake.in
--- automake.in 16 Aug 2007 23:47:07 -0000 1.1648
+++ automake.in 30 Sep 2007 03:32:04 -0000
@@ -169,7 +169,7 @@
my $IGNORE_PATTERN = '^\s*##([^#\n].*)?\n';
my $WHITE_PATTERN = '^\s*' . "\$";
my $COMMENT_PATTERN = '^#';
-my $TARGET_PATTERN='address@hidden(){}/address@hidden';
+my $TARGET_PATTERN='address@hidden(){}/address@hidden';
# A rule has three parts: a list of targets, a list of dependencies,
# and optionally actions.
my $RULE_PATTERN =
Index: tests/exeext3.test
===================================================================
RCS file: /cvs/automake/automake/tests/exeext3.test,v
retrieving revision 1.5
diff -u -r1.5 exeext3.test
--- tests/exeext3.test 7 Jul 2007 11:23:28 -0000 1.5
+++ tests/exeext3.test 30 Sep 2007 04:06:24 -0000
@@ -1,5 +1,5 @@
#! /bin/sh
-# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
@@ -29,10 +29,13 @@
END
cat > Makefile.am << 'END'
-bin_PROGRAMS = maude
+bin_PROGRAMS = maude 3dldf
maude$(EXEEXT):
yeah
+
+3dldf$(EXEEXT):
+ yippie
END
$ACLOCAL
@@ -40,3 +43,5 @@
$FGREP 'maude$(EXEEXT):' Makefile.in
test 1 = `grep 'maude.*:' Makefile.in | wc -l`
+$FGREP '3dldf$(EXEEXT):' Makefile.in
+test 1 = `grep '3dldf.*:' Makefile.in | wc -l`
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Fix TARGET_PATTERN,
Ralf Wildenhues <=