From fd701e071442848c920db1ec84828b4c963a9e5d Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sun, 13 Oct 2002 15:21:09 +0000 Subject: [PATCH] Don't use GNU make specific features (portability). --- Makefile.inc | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 Makefile.inc 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 -- 2.30.2