aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-03-25 19:26:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-03-25 19:26:49 +0000
commit0abebf0e7b9301d2b5bc6199f93e39418a6db1db (patch)
tree545c6289afd660382c317b8b8f17dcbab6a6c0a0 /src
parente4739e702986d106c681ac0cd93c829eb0a0c75c (diff)
downloadpostgresql-0abebf0e7b9301d2b5bc6199f93e39418a6db1db.tar.gz
postgresql-0abebf0e7b9301d2b5bc6199f93e39418a6db1db.zip
Remove bogus complexity from build/install of plperl. This stuff was
apparently copied from the makefile for the perl5 interface module, which needs it for reasons explained in src/interfaces/Makefile. But none of those reasons apply to plperl.
Diffstat (limited to 'src')
-rw-r--r--src/pl/Makefile26
1 files changed, 3 insertions, 23 deletions
diff --git a/src/pl/Makefile b/src/pl/Makefile
index aefd06707b8..bc9825558ed 100644
--- a/src/pl/Makefile
+++ b/src/pl/Makefile
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.4 2000/03/25 14:25:31 momjian Exp $
+# $Header: /cvsroot/pgsql/src/pl/Makefile,v 1.5 2000/03/25 19:26:49 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -21,29 +21,9 @@ ifeq ($(USE_TCL), true)
$(MAKE) -C tcl $@
endif
ifeq ($(USE_PERL), true)
- -@if [ "$@" = "install" ]; then \
- $(MAKE) $(MFLAGS) install-plperl; \
- else \
- $(MAKE) $(MFLAGS) plperl/Makefile; \
- $(MAKE) $(MFLAGS) -C plperl $@; \
- fi
+ $(MAKE) $(MFLAGS) plperl/Makefile
+ $(MAKE) $(MFLAGS) -C plperl $@
endif
plperl/Makefile: plperl/Makefile.PL
cd plperl && $(PERL) Makefile.PL POLLUTE=1
-
-install-plperl: plperl/Makefile
- $(MAKE) -C plperl clean
- cd plperl && POSTGRES_HOME="$(POSTGRESDIR)" $(PERL) Makefile.PL POLLUTE=1
- $(MAKE) -C plperl all
- -@if [ -w `sed -n -e 's/^ *INSTALLSITELIB *= *//p' plperl/Makefile` ]; then \
- $(MAKE) $(MFLAGS) -C plperl install; \
- rm -f plperl/Makefile; \
- else \
- echo "Skipping install of Perl module for lack of permissions."; \
- echo "To install it, cd into interfaces/plperl, su to become the"; \
- echo "appropriate user, and do '$(MAKE) install'."; \
- fi
-
-.PHONY: install-plperl
-