Makefile.in (.y.c): Only enable production rule when maintaining.

* Makefile.in (.y.c): Only enable production rule when
	maintaining.

From-SVN: r64371
This commit is contained in:
Loren J. Rittle 2003-03-14 21:36:28 +00:00 committed by Loren J. Rittle
parent 93c834b7d7
commit 18a3ddd71a
2 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -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-$@