From b16b83534d008d45a2917bd2c4fd65010909dff2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 12 Aug 2000 14:45:50 +0000 Subject: [PATCH] Whoever added the Makefile rule to auto-build the Grammar didn't have his build directory in a different place than his source directory. I do, and it is supposed to be supported. The naive patch caused an endless recursion in the Make process. This should take care of that. --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 88f4efea47..d4a063e56e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -196,7 +196,8 @@ libpython$(VERSION).dylib: $(LIBRARY) $(SUBDIRS): Makefiles Grammar: - cd Grammar ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \ + P=`pwd`/Parser; cd $(srcdir)/Grammar; $(MAKE) PGENDIR=$$P \ + OPT="$(OPT)" VERSION="$(VERSION)" \ prefix="$(prefix)" exec_prefix="$(exec_prefix)" all Parser: -- 2.40.0