mirror of
https://github.com/python/cpython.git
synced 2025-11-07 05:17:20 +00:00
Collect together all detailed installation directories.
This commit is contained in:
parent
b8dccd29b3
commit
bed23fe1ce
1 changed files with 7 additions and 4 deletions
11
Makefile.in
11
Makefile.in
|
|
@ -93,12 +93,18 @@ MANDIR= $(prefix)/man
|
||||||
INCLUDEDIR= $(prefix)/include
|
INCLUDEDIR= $(prefix)/include
|
||||||
SCRIPTDIR= $(prefix)/lib
|
SCRIPTDIR= $(prefix)/lib
|
||||||
|
|
||||||
|
# Detailed destination directories
|
||||||
|
BINLIBDEST= $(LIBDIR)/python$(VERSION)
|
||||||
|
LIBDEST= $(SCRIPTDIR)/python$(VERSION)
|
||||||
|
INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
|
||||||
|
LIBP= $(LIBDIR)/python$(VERSION)
|
||||||
|
|
||||||
# Symbols used for using shared libraries
|
# Symbols used for using shared libraries
|
||||||
SO= @SO@
|
SO= @SO@
|
||||||
LDSHARED= @LDSHARED@
|
LDSHARED= @LDSHARED@
|
||||||
CCSHARED= @CCSHARED@
|
CCSHARED= @CCSHARED@
|
||||||
LINKFORSHARED= @LINKFORSHARED@
|
LINKFORSHARED= @LINKFORSHARED@
|
||||||
DESTSHARED= $(LIBDIR)/python$(VERSION)/sharedmodules
|
DESTSHARED= $(BINLIBDEST)/sharedmodules
|
||||||
|
|
||||||
# Shell used by make (some versions default to the login shell, which is bad)
|
# Shell used by make (some versions default to the login shell, which is bad)
|
||||||
SHELL= /bin/sh
|
SHELL= /bin/sh
|
||||||
|
|
@ -192,7 +198,6 @@ maninstall:
|
||||||
$(MANDIR)/man1/python.1
|
$(MANDIR)/man1/python.1
|
||||||
|
|
||||||
# Install the library
|
# Install the library
|
||||||
LIBDEST= $(SCRIPTDIR)/python$(VERSION)
|
|
||||||
MACHDEPS= $(MACHDEP)
|
MACHDEPS= $(MACHDEP)
|
||||||
LIBSUBDIRS= stdwin tkinter test $(MACHDEPS)
|
LIBSUBDIRS= stdwin tkinter test $(MACHDEPS)
|
||||||
libinstall: python $(srcdir)/Lib/$(MACHDEP)
|
libinstall: python $(srcdir)/Lib/$(MACHDEP)
|
||||||
|
|
@ -261,7 +266,6 @@ $(srcdir)/Lib/$(MACHDEP):
|
||||||
(cd $(srcdir)/Lib/$(MACHDEP); ./regen)
|
(cd $(srcdir)/Lib/$(MACHDEP); ./regen)
|
||||||
|
|
||||||
# Install the include files
|
# Install the include files
|
||||||
INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
|
|
||||||
inclinstall:
|
inclinstall:
|
||||||
@for i in $(INCLUDEDIR) $(INCLUDEPY); \
|
@for i in $(INCLUDEDIR) $(INCLUDEPY); \
|
||||||
do \
|
do \
|
||||||
|
|
@ -280,7 +284,6 @@ inclinstall:
|
||||||
|
|
||||||
# Install the lib*.a files and miscellaneous stuff needed by extensions
|
# Install the lib*.a files and miscellaneous stuff needed by extensions
|
||||||
# This goes into $(exec_prefix)
|
# This goes into $(exec_prefix)
|
||||||
LIBP= $(LIBDIR)/python$(VERSION)
|
|
||||||
LIBPL= $(LIBP)/config
|
LIBPL= $(LIBP)/config
|
||||||
libainstall: all
|
libainstall: all
|
||||||
@for i in $(LIBDIR) $(LIBP) $(LIBPL); \
|
@for i in $(LIBDIR) $(LIBP) $(LIBPL); \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue