Skip to content

Commit 4b561af

Browse files
author
gvanrossum
committed
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. git-svn-id: http://svn.python.org/projects/python/trunk@16742 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 5347a5a commit 4b561af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ libpython$(VERSION).dylib: $(LIBRARY)
196196
$(SUBDIRS): Makefiles
197197

198198
Grammar:
199-
cd Grammar ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
199+
P=`pwd`/Parser; cd $(srcdir)/Grammar; $(MAKE) PGENDIR=$$P \
200+
OPT="$(OPT)" VERSION="$(VERSION)" \
200201
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
201202

202203
Parser:

0 commit comments

Comments
 (0)