summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-19 21:51:24 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-19 21:51:24 (GMT)
commitfc8ebb1d3f202c4481e1cb7a8fb9c9a5c0a70269 (patch)
tree43fc0eba851abfc5180ca2842398c677e4ffc93a /Makefile.in
parentaa35465ccf4cc9e297b7658a6ed8613eb11a645d (diff)
downloadcpython-fc8ebb1d3f202c4481e1cb7a8fb9c9a5c0a70269.zip
cpython-fc8ebb1d3f202c4481e1cb7a8fb9c9a5c0a70269.tar.gz
cpython-fc8ebb1d3f202c4481e1cb7a8fb9c9a5c0a70269.tar.bz2
MACHDEP and regen problem is now taken care of
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index ba92f80..879e67d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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: