Hi,

fix is quite simple, patch attached, and already forwarded to upstream.

As always, feel free to NMU.

Cheers,
  Stefan.
diff --git a/Makefile.am b/Makefile.am
index 0541256..c2f7c49 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,7 +35,7 @@ cc1_SOURCES = parse.y \
 	cc1.c
 
 # Make sure that parse.[ch] will get built before anything else gets compiled.
-BUILT_SOURCES = config.h parse.c parse.h
+BUILT_SOURCES = config.h parse.tab.c parse.tab.h
 CLEANFILES = \
 	$(BUILT_SOURCES) \
 	scan.c
@@ -46,12 +46,10 @@ DISTCLEANFILES = config.h
 config.h: Makefile.am
 	echo '#define FAUCCDIR "'$(fauccdir)'"' > config.h
 
-parse.c: parse.y
+parse.tab.c: parse.y
 	bison -d parse.y
-	mv parse.tab.c parse.c
-	mv parse.tab.h parse.h
 
-parse.h: parse.c
+parse.tab.h: parse.tab.c
 
 devel: $(top_srcdir)/scripts/install_ln.sh
 	$(MAKE) install INSTALL=$(CURDIR)/$(top_srcdir)/scripts/install_ln.sh

Attachment: signature.asc
Description: PGP signature

Reply via email to