X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=Makefile.inc;fp=Makefile.inc;h=0000000000000000000000000000000000000000;hb=fd701e071442848c920db1ec84828b4c963a9e5d;hp=dd724ba3fe1cf22ac74d16056f580cb6f11fadc0;hpb=534e414595f1cd616c2ea012f8803ec1bf936e15;p=gedcom-parse.git diff --git a/Makefile.inc b/Makefile.inc deleted file mode 100644 index dd724ba..0000000 --- a/Makefile.inc +++ /dev/null @@ -1,23 +0,0 @@ -## File to include in other Makefile's, defining common commands and rules -# $Id$ -# $Name$ - -define replace-VERSION - cd $(distdir); \ - for file in $(VERSIONED_FILES); do \ - sed 's/\@VERSION\@/${VERSION}/' $$file > $$file.new; \ - rm $$file; \ - mv $$file.new $$file; \ - done -endef - -%.tabgen.h: %.tab.h - if [ ! -r $(srcdir)/$@ ] ; \ - then \ - touch $(srcdir)/$@; \ - fi - if ! diff -q $< $(srcdir)/$@ > /dev/null; \ - then \ - rm $(srcdir)/$@; \ - cp $(srcdir)/$< $(srcdir)/$@; \ - fi