From 32c4993af3691357e984189086d905871609ecdb Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Fri, 16 Aug 2002 16:40:33 +0000 Subject: [PATCH] Correction on new rule. --- Makefile.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.inc b/Makefile.inc index a8e17c7..dd724ba 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -12,12 +12,12 @@ define replace-VERSION endef %.tabgen.h: %.tab.h - if [ ! -r $@ ] ; \ + if [ ! -r $(srcdir)/$@ ] ; \ then \ - touch $@; \ + touch $(srcdir)/$@; \ fi - if ! diff -q $< $@ > /dev/null; \ + if ! diff -q $< $(srcdir)/$@ > /dev/null; \ then \ - rm $@; \ - cp $< $@; \ + rm $(srcdir)/$@; \ + cp $(srcdir)/$< $(srcdir)/$@; \ fi -- 2.30.2