Issue #17161: make install now also installs a python2 and python man page.
This commit is contained in:
parent
c12dcd2e4d
commit
ed1e4382c4
|
@ -806,7 +806,8 @@ memtest: all platform
|
||||||
install: @FRAMEWORKINSTALLFIRST@ altinstall bininstall maninstall @FRAMEWORKINSTALLLAST@
|
install: @FRAMEWORKINSTALLFIRST@ altinstall bininstall maninstall @FRAMEWORKINSTALLLAST@
|
||||||
|
|
||||||
# Install almost everything without disturbing previous versions
|
# Install almost everything without disturbing previous versions
|
||||||
altinstall: @FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall libainstall \
|
altinstall: @FRAMEWORKALTINSTALLFIRST@ altbininstall libinstall inclinstall \
|
||||||
|
libainstall altmaninstall \
|
||||||
sharedinstall oldsharedinstall @FRAMEWORKALTINSTALLLAST@
|
sharedinstall oldsharedinstall @FRAMEWORKALTINSTALLLAST@
|
||||||
|
|
||||||
# Install shared libraries enabled by Setup
|
# Install shared libraries enabled by Setup
|
||||||
|
@ -876,8 +877,8 @@ altbininstall: $(BUILDPYTHON)
|
||||||
else true; \
|
else true; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install the manual page
|
# Install the versioned manual page
|
||||||
maninstall:
|
altmaninstall:
|
||||||
@for i in $(MANDIR) $(MANDIR)/man1; \
|
@for i in $(MANDIR) $(MANDIR)/man1; \
|
||||||
do \
|
do \
|
||||||
if test ! -d $(DESTDIR)$$i; then \
|
if test ! -d $(DESTDIR)$$i; then \
|
||||||
|
@ -889,6 +890,13 @@ maninstall:
|
||||||
$(INSTALL_DATA) $(srcdir)/Misc/python.man \
|
$(INSTALL_DATA) $(srcdir)/Misc/python.man \
|
||||||
$(DESTDIR)$(MANDIR)/man1/python$(VERSION).1
|
$(DESTDIR)$(MANDIR)/man1/python$(VERSION).1
|
||||||
|
|
||||||
|
# Install the unversioned manual pages
|
||||||
|
maninstall: altmaninstall
|
||||||
|
-rm -f $(DESTDIR)$(MANDIR)/man1/python2.1
|
||||||
|
(cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python$(VERSION).1 python2.1)
|
||||||
|
-rm -f $(DESTDIR)$(MANDIR)/man1/python.1
|
||||||
|
(cd $(DESTDIR)$(MANDIR)/man1; $(LN) -s python2.1 python.1)
|
||||||
|
|
||||||
# Install the library
|
# Install the library
|
||||||
PLATDIR= plat-$(MACHDEP)
|
PLATDIR= plat-$(MACHDEP)
|
||||||
EXTRAPLATDIR= @EXTRAPLATDIR@
|
EXTRAPLATDIR= @EXTRAPLATDIR@
|
||||||
|
@ -1326,7 +1334,7 @@ Python/thread.o: @THREADHEADERS@
|
||||||
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
|
||||||
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
|
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
|
||||||
.PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
|
.PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
|
||||||
.PHONY: smelly funny patchcheck
|
.PHONY: smelly funny patchcheck altmaninstall
|
||||||
.PHONY: gdbhooks
|
.PHONY: gdbhooks
|
||||||
|
|
||||||
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
|
||||||
|
|
|
@ -830,6 +830,8 @@ Build
|
||||||
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
|
Retina displays. Applies to Tkinter apps, such as IDLE, on OS X
|
||||||
framework builds linked with Cocoa Tk 8.5.
|
framework builds linked with Cocoa Tk 8.5.
|
||||||
|
|
||||||
|
- Issue #17161: make install now also installs a python2 and python man page.
|
||||||
|
|
||||||
Tools/Demos
|
Tools/Demos
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue