Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f7c542

Browse files
committed
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.
1 parenteeca4bd commit3f7c542

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

‎src/interfaces/python/GNUmakefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Written by Peter Eisentraut <peter_e@gmx.net>
66
#
7-
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.8 2001/05/2514:29:39 momjian Exp $
7+
# $Header: /cvsroot/pgsql/src/interfaces/python/Attic/GNUmakefile,v 1.9 2001/05/2515:32:33 momjian Exp $
88
#
99
#-------------------------------------------------------------------
1010

@@ -32,10 +32,10 @@ Setup.in: Setup.in.raw
3232
-e's%@INCLUDES@%$(filter -I%, $(CPPFLAGS))%g'\
3333
$<>$@
3434

35-
install: all installdirs
35+
install: all
3636
@echo"Installing Python module"
37-
@if ($(INSTALL_DATA) pg.py$(DESTDIR)$(python_moduledir)&& \
38-
$(MAKE) -f Makefileprefix=$(DESTDIR)$(prefix)install );then:;else\
37+
@if ($(INSTALL_DATA) pg.py$(python_moduledir)&& \
38+
$(MAKE) -f Makefile install );then:;else\
3939
echo"*****";\
4040
echo"* Skipping the installation of the Python interface module for lack";\
4141
echo"* of permissions. To install it, change to the directory";\
@@ -44,9 +44,6 @@ install: all installdirs
4444
echo"*****";\
4545
fi
4646

47-
installdirs:
48-
$(mkinstalldirs)$(DESTDIR)$(python_moduledir)
49-
5047
uninstall:
5148
@echo"*****";\
5249
echo"* Unfortunately, the Python interface module cannot be uninstalled";\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp