@@ -1178,8 +1178,6 @@ maninstall: altmaninstall
1178
1178
(cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python$(VERSION).1 python3.1)
1179
1179
1180
1180
# Install the library
1181
- PLATDIR= @PLATDIR@
1182
- MACHDEPS= $(PLATDIR)
1183
1181
XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax
1184
1182
LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \
1185
1183
tkinter/test/test_ttk site-packages test \
@@ -1238,8 +1236,8 @@ LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \
1238
1236
multiprocessing multiprocessing/dummy \
1239
1237
unittest unittest/test unittest/test/testmock \
1240
1238
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
1243
1241
@for i in $(SCRIPTDIR) $(LIBDEST); \
1244
1242
do \
1245
1243
if test ! -d $(DESTDIR)$$i; then \
@@ -1294,10 +1292,10 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
1294
1292
esac; \
1295
1293
done; \
1296
1294
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); \
1299
1297
echo $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
1300
- $(LIBDEST)/$(PLATDIR)
1298
+ $(LIBDEST)
1301
1299
$(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
1302
1300
if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
1303
1301
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
@@ -1335,9 +1333,6 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
1335
1333
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
1336
1334
$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
1337
1335
1338
- $(srcdir)/Lib/$(PLATDIR):
1339
- mkdir $(srcdir)/Lib/$(PLATDIR)
1340
-
1341
1336
python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
1342
1337
# Substitution happens here, as the completely-expanded BINDIR
1343
1338
# is not available in configure
@@ -1614,9 +1609,6 @@ clobber: clean profile-removal
1614
1609
-rm -rf build platform
1615
1610
-rm -rf $(PYTHONFRAMEWORKDIR)
1616
1611
-rm -f python-config.py python-config
1617
- if [ -n "$(MULTIARCH)" ]; then \
1618
- rm -rf $(srcdir)/Lib/$(PLATDIR); \
1619
- fi
1620
1612
1621
1613
# Make things extra clean, before making a distribution:
1622
1614
# remove all generated files, even Makefile[.pre]
0 commit comments