Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(194611)

Delta Between Two Patch Sets: Makefile.pre.in

Issue 28046: Remove the concept of platform-specific directories
Left Patch Set: Created 3 years, 2 months ago
Right Patch Set: Created 3 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 # Top-level Makefile for Python 1 # Top-level Makefile for Python
2 # 2 #
3 # As distributed, this file is called Makefile.pre.in; it is processed 3 # As distributed, this file is called Makefile.pre.in; it is processed
4 # into the real Makefile by running the script ./configure, which 4 # into the real Makefile by running the script ./configure, which
5 # replaces things like @spam@ with values appropriate for your system. 5 # replaces things like @spam@ with values appropriate for your system.
6 # This means that if you edit Makefile, your changes get lost the next 6 # This means that if you edit Makefile, your changes get lost the next
7 # time you run the configure script. Ideally, you can do: 7 # time you run the configure script. Ideally, you can do:
8 # 8 #
9 # ./configure 9 # ./configure
10 # make 10 # make
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 $(INSTALL_SCRIPT) $$i $(DESTDIR)$$b; \ 1295 $(INSTALL_SCRIPT) $$i $(DESTDIR)$$b; \
1296 else \ 1296 else \
1297 echo $(INSTALL_DATA) $$i $$b; \ 1297 echo $(INSTALL_DATA) $$i $$b; \
1298 $(INSTALL_DATA) $$i $(DESTDIR)$$b; \ 1298 $(INSTALL_DATA) $$i $(DESTDIR)$$b; \
1299 fi;; \ 1299 fi;; \
1300 esac; \ 1300 esac; \
1301 done; \ 1301 done; \
1302 done 1302 done
1303 $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDE P)_$(MULTIARCH).py \ 1303 $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS)_$(MACHDE P)_$(MULTIARCH).py \
1304 $(DESTDIR)$(LIBDEST); \ 1304 $(DESTDIR)$(LIBDEST); \
1305 echo $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
1306 $(LIBDEST)
1307 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt 1305 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
1308 if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \ 1306 if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
1309 $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ 1307 $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
1310 $(DESTDIR)$(LIBDEST)/distutils/tests ; \ 1308 $(DESTDIR)$(LIBDEST)/distutils/tests ; \
1311 fi 1309 fi
1312 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 1310 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
1313 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ 1311 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
1314 -d $(LIBDEST) -f \ 1312 -d $(LIBDEST) -f \
1315 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ 1313 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
1316 $(DESTDIR)$(LIBDEST) 1314 $(DESTDIR)$(LIBDEST)
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 fi 1428 fi
1431 1429
1432 # Install the dynamically loadable modules 1430 # Install the dynamically loadable modules
1433 # This goes into $(exec_prefix) 1431 # This goes into $(exec_prefix)
1434 sharedinstall: sharedmods 1432 sharedinstall: sharedmods
1435 $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ 1433 $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \
1436 --prefix=$(prefix) \ 1434 --prefix=$(prefix) \
1437 --install-scripts=$(BINDIR) \ 1435 --install-scripts=$(BINDIR) \
1438 --install-platlib=$(DESTSHARED) \ 1436 --install-platlib=$(DESTSHARED) \
1439 --root=$(DESTDIR)/ 1437 --root=$(DESTDIR)/
1440 » -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata_$(ABIFLAGS).py 1438 » -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata_$(ABIFLAGS)_$(MACHDEP)_$(MULT IARCH).py
1441 -rm -r $(DESTDIR)$(DESTSHARED)/__pycache__ 1439 -rm -r $(DESTDIR)$(DESTSHARED)/__pycache__
1442 1440
1443 # Here are a couple of targets for MacOSX again, to install a full 1441 # Here are a couple of targets for MacOSX again, to install a full
1444 # framework-based Python. frameworkinstall installs everything, the 1442 # framework-based Python. frameworkinstall installs everything, the
1445 # subtargets install specific parts. Much of the actual work is offloaded to 1443 # subtargets install specific parts. Much of the actual work is offloaded to
1446 # the Makefile in Mac 1444 # the Makefile in Mac
1447 # 1445 #
1448 # 1446 #
1449 # This target is here for backward compatibility, previous versions of Python 1447 # This target is here for backward compatibility, previous versions of Python
1450 # hadn't integrated framework installation in the normal install process. 1448 # hadn't integrated framework installation in the normal install process.
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1691 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure 1689 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
1692 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools 1690 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
1693 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean 1691 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
1694 .PHONY: smelly funny patchcheck touch altmaninstall commoninstall 1692 .PHONY: smelly funny patchcheck touch altmaninstall commoninstall
1695 .PHONY: gdbhooks 1693 .PHONY: gdbhooks
1696 1694
1697 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY 1695 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1698 # Local Variables: 1696 # Local Variables:
1699 # mode: makefile 1697 # mode: makefile
1700 # End: 1698 # End:
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+