X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2FMakefile.am;h=87891369bbf62da293e57c40113281fa33d36374;hb=f14e8bb4d49f22970f7f4c4cbc5173faada5d083;hp=9c88264f404f6634139767758b26f1329339a300;hpb=935f36fc3499cb863e577fcab2d26588385d2292;p=gedcom-parse.git diff --git a/gedcom/Makefile.am b/gedcom/Makefile.am index 9c88264..8789136 100644 --- a/gedcom/Makefile.am +++ b/gedcom/Makefile.am @@ -56,6 +56,8 @@ EXTRA_DIST = gedcom.y \ gedcom_date.lex \ gedcom_lex_common.c +include $(top_srcdir)/Makefile.inc + gedcom.tab.c gedcom.tab.h: gedcom.y $(YACC) $(YFLAGS) --name-prefix=gedcom_ $< @@ -98,14 +100,3 @@ lex.gedcom_lohi_.test.o: lex.gedcom_lohi_.c clean-local: rm -f $(EXTRA_PROGRAMS) - -%.tabgen.h: %.tab.h - if [ ! -r $(srcdir)/$@ ] ; \ - then \ - touch $(srcdir)/$@; \ - fi - if ! diff -q $< $(srcdir)/$@ > /dev/null; \ - then \ - rm $(srcdir)/$@; \ - cp $(srcdir)/$< $(srcdir)/$@; \ - fi