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.
This commit is contained in:
Guido van Rossum 2000-08-12 14:45:50 +00:00
parent 4ca744c70e
commit b16b83534d
1 changed files with 2 additions and 1 deletions

View File

@ -196,7 +196,8 @@ libpython$(VERSION).dylib: $(LIBRARY)
$(SUBDIRS): Makefiles $(SUBDIRS): Makefiles
Grammar: 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 prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
Parser: Parser: