aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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-$@