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

Skip to content

Commit fc8ebb1

Browse files
committed
MACHDEP and regen problem is now taken care of
1 parent aa35465 commit fc8ebb1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Makefile.in

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,11 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
258258
./python $(LIBDEST)/compileall.py $(LIBDEST)
259259

260260
# Create the MACHDEP source directory, if one wasn't distributed..
261-
# XXX This requires Tools/scripts/h2py.py which requires /usr/local/bin/python.
262-
# Oh well, it's a hint that something should be done.
263-
$(srcdir)/Lib/$(MACHDEP):
261+
$(srcdir)/Lib/$(MACHDEP): python
264262
mkdir $(srcdir)/Lib/$(MACHDEP)
265263
cp $(srcdir)/Lib/generic/regen $(srcdir)/Lib/$(MACHDEP)/regen
266-
(cd $(srcdir)/Lib/$(MACHDEP); ./regen)
264+
export PATH; PATH="`pwd`:$PATH"; \
265+
cd $(srcdir)/Lib/$(MACHDEP); ./regen
267266

268267
# Install the include files
269268
inclinstall:

0 commit comments

Comments
 (0)