diff --git a/Makefile.am b/Makefile.am index 9a5417d481fc322c78bdb47f9dac9ec699e60e81..022826aaae9e3f0dbf4de8c6826c8c9bcca211cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,10 +46,14 @@ DISTCLEANFILES = config.h config.h: Makefile.am echo '#define FAUCCDIR "'$(fauccdir)'"' > config.h -parse.c parse.h: parse.y +parse.c: parse.y bison -d parse.y mv parse.tab.c parse.c mv parse.tab.h parse.h + sed -e 's/parse.tab.h/parse.h/' parse.c > parse.c.tmp + mv parse.c.tmp parse.c + +parse.h: parse.c devel: $(top_srcdir)/scripts/install_ln.sh $(MAKE) install INSTALL=$(CURDIR)/$(top_srcdir)/scripts/install_ln.sh