]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
MACHDEP and regen problem is now taken care of
authorGuido van Rossum <guido@python.org>
Mon, 19 Aug 1996 21:51:24 +0000 (21:51 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 Aug 1996 21:51:24 +0000 (21:51 +0000)
Makefile.in

index ba92f80d8b92562b9569671ff31314f1c682624c..879e67d66497d88c6c2c5d13e959bf88cc807cf6 100644 (file)
@@ -258,12 +258,11 @@ libinstall:       python $(srcdir)/Lib/$(MACHDEP)
                        ./python $(LIBDEST)/compileall.py $(LIBDEST)
 
 # Create the MACHDEP source directory, if one wasn't distributed..
-# XXX This requires Tools/scripts/h2py.py which requires /usr/local/bin/python.
-# Oh well, it's a hint that something should be done.
-$(srcdir)/Lib/$(MACHDEP):
+$(srcdir)/Lib/$(MACHDEP): python
                mkdir $(srcdir)/Lib/$(MACHDEP)
                cp $(srcdir)/Lib/generic/regen $(srcdir)/Lib/$(MACHDEP)/regen
-               (cd $(srcdir)/Lib/$(MACHDEP); ./regen)
+               export PATH; PATH="`pwd`:$PATH"; \
+               cd $(srcdir)/Lib/$(MACHDEP); ./regen
 
 # Install the include files
 inclinstall: