summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-06 00:15:31 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-06 00:15:31 (GMT)
commit86b7db37505f9b8a5b4d10ae28e74706d0628d8c (patch)
tree8278bb3ab95deed51d80fbfdc3c2db1d5032e78a
parent0bfd14659473e894060e071a078486536a584afe (diff)
downloadcpython-86b7db37505f9b8a5b4d10ae28e74706d0628d8c.zip
cpython-86b7db37505f9b8a5b4d10ae28e74706d0628d8c.tar.gz
cpython-86b7db37505f9b8a5b4d10ae28e74706d0628d8c.tar.bz2
Oops -- needed to fix another place affected by the change back to
$(MACHDEP) being just the platform name, without "plat-" prefix... (To be precise, the libainstall target was totally broken.)
-rw-r--r--Makefile.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index bfa7bdb..0d5650c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -251,9 +251,10 @@ maninstall:
$(MANDIR)/man1/python.1
# Install the library
-MACHDEPS= $(MACHDEP)
+PLATDIR= plat-$(MACHDEP)
+MACHDEPS= $(PLATDIR)
LIBSUBDIRS= lib-stdwin lib-tk test test/output $(MACHDEPS)
-libinstall: python $(srcdir)/Lib/$(MACHDEP)
+libinstall: python $(srcdir)/Lib/$(PLATDIR)
@for i in $(SCRIPTDIR) $(LIBDEST); \
do \
if test ! -d $$i; then \
@@ -312,13 +313,13 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
PYTHONPATH=$(LIBDEST) \
./python -O $(LIBDEST)/compileall.py $(LIBDEST)
-# Create the MACHDEP source directory, if one wasn't distributed..
-$(srcdir)/Lib/$(MACHDEP):
- mkdir $(srcdir)/Lib/$(MACHDEP)
- cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(MACHDEP)/regen
+# Create the PLATDIR source directory, if one wasn't distributed..
+$(srcdir)/Lib/$(PLATDIR):
+ mkdir $(srcdir)/Lib/$(PLATDIR)
+ cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
export PATH; PATH="`pwd`:$$PATH"; \
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
- cd $(srcdir)/Lib/$(MACHDEP); ./regen
+ cd $(srcdir)/Lib/$(PLATDIR); ./regen
# Install the include files
INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)