|
|
ab560c |
# install-symlink
|
|
|
ab560c |
PYTHON_APP_VER = $(NICKNAME)$(OS_APP_SUFFIX)
|
|
|
ab560c |
PYTHON_APP_MAJOR = $(NICKNAME:$(PYTHON_VER)=$(PYTHON_MAJOR))$(OS_APP_SUFFIX)
|
|
|
ab560c |
|
|
|
ab560c |
PYTHON_MAN_VER = $(NICKNAME).1
|
|
|
ab560c |
PYTHON_MAN_MAJOR = $(NICKNAME:$(PYTHON_VER)=$(PYTHON_MAJOR)).1
|
|
|
ab560c |
|
|
|
ab560c |
PYTHON_APP_EXTDIR = $(DESTDIR)/$(LIBDIR)/$(PACKAGE)/lib-dynload
|
|
|
ab560c |
PYTHON_APP_MANDIR = $(DESTDIR)/$(MANDIR)/man1
|
|
|
ab560c |
|
|
|
ab560c |
install-man:
|
|
|
ab560c |
mkdir -p $(PYTHON_APP_MANDIR)
|
|
|
ab560c |
cp -p $(SOURCE_DIR)/Misc/python.man $(PYTHON_APP_MANDIR)/$(PYTHON_MAN_VER)
|
|
|
ab560c |
ln -s $(PYTHON_MAN_VER) $(PYTHON_APP_MANDIR)/$(PYTHON_MAN_MAJOR).tmp
|
|
|
ab560c |
mv $(PYTHON_APP_MANDIR)/$(PYTHON_MAN_MAJOR).tmp $(PYTHON_APP_MANDIR)/$(PYTHON_MAN_MAJOR)
|
|
|
ab560c |
|
|
|
ab560c |
|
|
|
ab560c |
# install-app-libdir
|
|
|
ab560c |
install-app-extdir:
|
|
|
ab560c |
mkdir -p $(PYTHON_APP_EXTDIR)
|
|
|
ab560c |
|
|
|
ab560c |
install-app-symlink:
|
|
|
ab560c |
mkdir -p $(DESTDIR)/$(BINDIR)
|
|
|
ab560c |
ln -s $(PYTHON_APP_VER) $(DESTDIR)/$(BINDIR)/$(PYTHON_APP_MAJOR).tmp
|
|
|
ab560c |
mv $(DESTDIR)/$(BINDIR)/$(PYTHON_APP_MAJOR).tmp $(DESTDIR)/$(BINDIR)/$(PYTHON_APP_MAJOR)
|
|
|
ab560c |
|
|
|
ab560c |
# install-pyext
|
|
|
ab560c |
install-pyext: $(PYEXT_SHARED)
|
|
|
ab560c |
mkdir -p $(PYTHON_APP_EXTDIR)
|
|
|
ab560c |
cp -a $(PYEXT_SHARED) $(PYTHON_APP_EXTDIR)
|
|
|
ab560c |
|
|
|
ab560c |
# install-pyhdr
|
|
|
ab560c |
install-pyhdr: config.tag
|
|
|
ab560c |
mkdir -p $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE)
|
|
|
ab560c |
cp -p $(API_HEADERS) $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE)
|
|
|
ab560c |
|
|
|
2df5f5 |
# install-pyhdr-osapi
|
|
|
2df5f5 |
install-pyhdr-osapi: config.tag
|
|
|
2df5f5 |
mkdir -p $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE)/osapi
|
|
|
2df5f5 |
cp -p $(PYTHON_OSAPI_HEADERS) $(DESTDIR)/$(INCLUDEDIR)/$(PACKAGE)/osapi
|
|
|
2df5f5 |
|
|
|
ab560c |
install-shared: install-pyext
|
|
|
ab560c |
install-shared: install-pyhdr
|
|
|
2df5f5 |
install-shared: install-pyhdr-osapi
|
|
|
ab560c |
|
|
|
ab560c |
install-app: install-man
|
|
|
ab560c |
install-app: install-app-extdir
|
|
|
ab560c |
install-app: install-app-symlink
|
|
|
ab560c |
install-app: pydist-install-py
|
|
|
ab560c |
install-app: pydist-install-pyc
|
|
|
ab560c |
|
|
|
ab560c |
.PHONE: install-app-symlink
|
|
|
ab560c |
.PHONE: install-man
|
|
|
ab560c |
.PHONE: install-pyext
|
|
|
ab560c |
.PHONE: install-pyhdr
|