Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b16b835

Browse files
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.
1 parent 4ca744c commit b16b835

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)