# HG changeset patch # User John W. Eaton # Date 1361477675 18000 # Node ID 16345c7b4ed12644da13b1fd3198d7af383f033b # Parent 6a44bb3c95937ab99b86e266db12d912e83d0eba override automake .yy.cc rule (bug #36407) * libinterp/Makefile.am (.yy.cc): Override with our own rule. diff -r 6a44bb3c9593 -r 16345c7b4ed1 src/Makefile.am --- a/src/Makefile.am Sat Feb 16 18:51:29 2013 -0500 +++ b/src/Makefile.am Thu Feb 21 15:14:35 2013 -0500 @@ -572,6 +572,12 @@ -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t mv $@-t $@ +## Override Automake's rule that forces a .hh extension on us even +## though we don't want it. It would be super awesome if automake +## would allow users to choose the header file extension. +.yy.cc: + $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + ## Special rules: ## Mostly for sources which must be built before rest of compilation.