From 687621a5c555e8ac95f1f35ff1c5f9d567f48ad7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 11 May 1996 19:20:49 +0000 Subject: [PATCH 1/1] (dist): Don't use $(srcdir). --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 456d9047..baabbf96 100644 --- a/Makefile.in +++ b/Makefile.in @@ -146,12 +146,15 @@ check: bison: $(OBJECTS) $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJECTS) $(LIBS) +# We don't use $(srcdir) in this rule +# because it is normally used in the master source dir +# in which configure has not been run. dist: bison.info echo bison-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q version.c` > .fname -rm -rf `cat .fname` mkdir `cat .fname` dst=`cat .fname`; for f in $(DISTFILES); do \ - ln $(srcdir)/$$f $$dst/$$f || { echo copying $$f; cp -p $(srcdir)/$$f $$dst/$$f ; } \ + ln $$f $$dst/$$f || { echo copying $$f; cp -p $$f $$dst/$$f ; } \ done tar --gzip -chf `cat .fname`.tar.gz `cat .fname` -rm -rf `cat .fname` .fname -- 2.47.2