Back out, per Peter E.

> > The attached patch changes src/interfaces/python/GNUmakefile to use the
> > value of DESTDIR like the rest (or at least most) of the PostgreSQL
> > makefiles.  I found this problem when trying to package a pre-built
> > Cygwin PostgreSQL distribution, but this problem is platform independent.
This commit is contained in:
Bruce Momjian 2001-05-25 15:32:33 +00:00
parent eeca4bdb31
commit 3f7c542a60
1 changed files with 4 additions and 7 deletions

View File

@ -4,7 +4,7 @@
# #
# Written by Peter Eisentraut <peter_e@gmx.net> # Written by Peter Eisentraut <peter_e@gmx.net>
# #
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.8 2001/05/25 14:29:39 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.9 2001/05/25 15:32:33 momjian Exp $
# #
#------------------------------------------------------------------- #-------------------------------------------------------------------
@ -32,10 +32,10 @@ Setup.in: Setup.in.raw
-e 's%@INCLUDES@%$(filter -I%, $(CPPFLAGS))%g' \ -e 's%@INCLUDES@%$(filter -I%, $(CPPFLAGS))%g' \
$< > $@ $< > $@
install: all installdirs install: all
@echo "Installing Python module" @echo "Installing Python module"
@if ( $(INSTALL_DATA) pg.py $(DESTDIR)$(python_moduledir) && \ @if ( $(INSTALL_DATA) pg.py $(python_moduledir) && \
$(MAKE) -f Makefile prefix=$(DESTDIR)$(prefix) install ); then :; else \ $(MAKE) -f Makefile install ); then : ; else \
echo "*****" ;\ echo "*****" ;\
echo "* Skipping the installation of the Python interface module for lack"; \ echo "* Skipping the installation of the Python interface module for lack"; \
echo "* of permissions. To install it, change to the directory"; \ echo "* of permissions. To install it, change to the directory"; \
@ -44,9 +44,6 @@ install: all installdirs
echo "*****"; \ echo "*****"; \
fi fi
installdirs:
$(mkinstalldirs) $(DESTDIR)$(python_moduledir)
uninstall: uninstall:
@echo "*****"; \ @echo "*****"; \
echo "* Unfortunately, the Python interface module cannot be uninstalled"; \ echo "* Unfortunately, the Python interface module cannot be uninstalled"; \