@@ -1178,8 +1178,6 @@ maninstall: altmaninstall
11781178 (cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python$(VERSION).1 python3.1)
11791179
11801180# Install the library
1181- PLATDIR= @PLATDIR@
1182- MACHDEPS= $(PLATDIR)
11831181XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax
11841182LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \
11851183 tkinter/test/test_ttk site-packages test \
@@ -1238,8 +1236,8 @@ LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \
12381236 multiprocessing multiprocessing/dummy \
12391237 unittest unittest/test unittest/test/testmock \
12401238 venv venv/scripts venv/scripts/posix \
1241- curses pydoc_data $(MACHDEPS)
1242- libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/ Modules/xxmodule.c
1239+ curses pydoc_data
1240+ libinstall: build_all $(srcdir)/Modules/xxmodule.c
12431241 @for i in $(SCRIPTDIR) $(LIBDEST); \
12441242 do \
12451243 if test ! -d $(DESTDIR)$$i; then \
@@ -1294,10 +1292,10 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
12941292 esac; \
12951293 done; \
12961294 done
1297- $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
1298- $(DESTDIR)$(LIBDEST)/$(PLATDIR) ; \
1295+ $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULTIARCH) .py \
1296+ $(DESTDIR)$(LIBDEST); \
12991297 echo $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
1300- $(LIBDEST)/$(PLATDIR)
1298+ $(LIBDEST)
13011299 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
13021300 if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
13031301 $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
@@ -1335,9 +1333,6 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
13351333 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
13361334 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
13371335
1338- $(srcdir)/Lib/$(PLATDIR):
1339- mkdir $(srcdir)/Lib/$(PLATDIR)
1340-
13411336python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
13421337 # Substitution happens here, as the completely-expanded BINDIR
13431338 # is not available in configure
@@ -1614,9 +1609,6 @@ clobber: clean profile-removal
16141609 -rm -rf build platform
16151610 -rm -rf $(PYTHONFRAMEWORKDIR)
16161611 -rm -f python-config.py python-config
1617- if [ -n "$(MULTIARCH)" ]; then \
1618- rm -rf $(srcdir)/Lib/$(PLATDIR); \
1619- fi
16201612
16211613# Make things extra clean, before making a distribution:
16221614# remove all generated files, even Makefile[.pre]
0 commit comments