summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-08-12 14:45:50 (GMT)
committerGuido van Rossum <guido@python.org>2000-08-12 14:45:50 (GMT)
commitb16b83534d008d45a2917bd2c4fd65010909dff2 (patch)
tree93fc22b3dd777b9dfdb3b7efd328db17418274d1
parent4ca744c70e034e00295ba96f10191d946abd5c30 (diff)
downloadcpython-b16b83534d008d45a2917bd2c4fd65010909dff2.zip
cpython-b16b83534d008d45a2917bd2c4fd65010909dff2.tar.gz
cpython-b16b83534d008d45a2917bd2c4fd65010909dff2.tar.bz2
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.
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 88f4efe..d4a063e 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: