Mercurial > hg > octave-nkf
changeset 16084:16345c7b4ed1 stable
override automake .yy.cc rule (bug #36407)
* libinterp/Makefile.am (.yy.cc): Override with our own rule.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 21 Feb 2013 15:14:35 -0500 |
parents | 6a44bb3c9593 |
children | b29b10fbb744 |
files | src/Makefile.am |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile.am +++ b/src/Makefile.am @@ -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.