aboutsummaryrefslogtreecommitdiff
path: root/gcc/intl
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2003-03-14 21:36:28 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2003-03-14 21:36:28 +0000
commit18a3ddd71a4829a2f5cf6ae639fb6cddc5c95bf8 (patch)
tree81367f5b068fc1ea1ba5838da545c8de07344cc5 /gcc/intl
parent93c834b7d7565fb18a31a3613cdc87193d3f18b7 (diff)
downloadgcc-18a3ddd71a4829a2f5cf6ae639fb6cddc5c95bf8.zip
gcc-18a3ddd71a4829a2f5cf6ae639fb6cddc5c95bf8.tar.gz
gcc-18a3ddd71a4829a2f5cf6ae639fb6cddc5c95bf8.tar.bz2
Makefile.in (.y.c): Only enable production rule when maintaining.
* Makefile.in (.y.c): Only enable production rule when maintaining. From-SVN: r64371
Diffstat (limited to 'gcc/intl')
-rw-r--r--gcc/intl/ChangeLog5
-rw-r--r--gcc/intl/Makefile.in7
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/intl/ChangeLog b/gcc/intl/ChangeLog
index 1fe7f37..4c1f235 100644
--- a/gcc/intl/ChangeLog
+++ b/gcc/intl/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-14 Loren J. Rittle <ljrittle@acm.org>
+
+ * Makefile.in (.y.c): Only enable production rule when
+ maintaining.
+
2002-05-25 Roman Lechtchinsky <rl@cs.tu-berlin.de>
* gettextP.h (SWAP): Change parameter type to unsigned int.
diff --git a/gcc/intl/Makefile.in b/gcc/intl/Makefile.in
index 94d7576..645cd33 100644
--- a/gcc/intl/Makefile.in
+++ b/gcc/intl/Makefile.in
@@ -95,9 +95,12 @@ LTV_AGE=0
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) $<
+# Unless maintaining, suppress (a) smart makes who think they know how to
+# automake Yacc files and (b) makes who handle VPATH search of generated
+# files differently than GNU make.
.y.c:
- $(YACC) $(YFLAGS) --output $@ $<
- rm -f $*.h
+@MAINT@ $(YACC) $(YFLAGS) --output $@ $<
+@MAINT@ rm -f $*.h
.sin.sed:
sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $< > t-$@