Mercurial > hg > octave-avbm
changeset 15203:aa7f4e33c524
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 | Sun, 19 Aug 2012 15:16:42 -0400 |
parents | f3b5cadfd6d5 |
children | 359098ad343e |
files | libinterp/Makefile.am |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/Makefile.am +++ b/libinterp/Makefile.am @@ -214,6 +214,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.