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

Skip to content

Commit 86b7db3

Browse files
committed
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.)
1 parent 0bfd146 commit 86b7db3

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

Makefile.in

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,10 @@ maninstall:
251251
$(MANDIR)/man1/python.1
252252

253253
# Install the library
254-
MACHDEPS= $(MACHDEP)
254+
PLATDIR= plat-$(MACHDEP)
255+
MACHDEPS= $(PLATDIR)
255256
LIBSUBDIRS= lib-stdwin lib-tk test test/output $(MACHDEPS)
256-
libinstall: python $(srcdir)/Lib/$(MACHDEP)
257+
libinstall: python $(srcdir)/Lib/$(PLATDIR)
257258
@for i in $(SCRIPTDIR) $(LIBDEST); \
258259
do \
259260
if test ! -d $$i; then \
@@ -312,13 +313,13 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
312313
PYTHONPATH=$(LIBDEST) \
313314
./python -O $(LIBDEST)/compileall.py $(LIBDEST)
314315

315-
# Create the MACHDEP source directory, if one wasn't distributed..
316-
$(srcdir)/Lib/$(MACHDEP):
317-
mkdir $(srcdir)/Lib/$(MACHDEP)
318-
cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(MACHDEP)/regen
316+
# Create the PLATDIR source directory, if one wasn't distributed..
317+
$(srcdir)/Lib/$(PLATDIR):
318+
mkdir $(srcdir)/Lib/$(PLATDIR)
319+
cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen
319320
export PATH; PATH="`pwd`:$$PATH"; \
320321
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
321-
cd $(srcdir)/Lib/$(MACHDEP); ./regen
322+
cd $(srcdir)/Lib/$(PLATDIR); ./regen
322323

323324
# Install the include files
324325
INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)

0 commit comments

Comments
 (0)