Commit 0d5c8323 authored by Bruce Momjian's avatar Bruce Momjian

Allow perl install as non-root, from Geoff Keating

parent 94bd4e3d
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# #
# #
# IDENTIFICATION # IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.21 1998/12/18 17:53:22 momjian Exp $ # $Header: /cvsroot/pgsql/src/interfaces/Makefile,v 1.22 1999/05/10 17:01:25 momjian Exp $
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
...@@ -52,7 +52,7 @@ install-perl5: perl5/Makefile ...@@ -52,7 +52,7 @@ install-perl5: perl5/Makefile
$(MAKE) -C perl5 clean $(MAKE) -C perl5 clean
cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL cd perl5 && POSTGRES_HOME="$(POSTGRESDIR)" perl Makefile.PL
$(MAKE) -C perl5 all $(MAKE) -C perl5 all
@if [ -w `sed -n -e 's/^ *SITELIBEXP *= *//p' perl5/Makefile` ]; then \ @if [ -w `sed -n -e 's/^ *INSTALLSITELIBEXP *= *//p' perl5/Makefile` ]; then \
$(MAKE) $(MFLAGS) -C perl5 install; \ $(MAKE) $(MFLAGS) -C perl5 install; \
rm -f perl5/Makefile; \ rm -f perl5/Makefile; \
else \ else \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment