From: Guido van Rossum Date: Sat, 12 Aug 2000 14:45:50 +0000 (+0000) Subject: Whoever added the Makefile rule to auto-build the Grammar didn't have X-Git-Tag: v2.0b1~496 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b16b83534d008d45a2917bd2c4fd65010909dff2;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Makefile.in b/Makefile.in index 88f4efea472c..d4a063e56e42 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: