aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-08 02:40:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-08 02:40:27 +0000
commita98eaa0191b5b7ef3bc69a66e04ae4cf304072a0 (patch)
tree56751ca89fc8d189ebb59a0fa771907dc099ae89 /src
parent65da0d66b4e89951078ebc43a5343780e4e700d6 (diff)
downloadpostgresql-a98eaa0191b5b7ef3bc69a66e04ae4cf304072a0.tar.gz
postgresql-a98eaa0191b5b7ef3bc69a66e04ae4cf304072a0.zip
Put back separate install-bin target ... I was using that,
thank you ...
Diffstat (limited to 'src')
-rw-r--r--src/backend/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/backend/Makefile b/src/backend/Makefile
index 5394aa0d45c..b84af541c86 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
-# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.58 2000/07/06 21:33:14 petere Exp $
+# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.59 2000/07/08 02:40:27 tgl Exp $
#
#-------------------------------------------------------------------------
@@ -113,13 +113,7 @@ $(top_builddir)/src/include/utils/fmgroids.h: utils/fmgroids.h
##########################################################################
-install: all installdirs
- $(INSTALL_PROGRAM) postgres$(X) $(bindir)/postgres$(X)
- @rm -f $(bindir)/postmaster
- ln -s postgres$(X) $(bindir)/postmaster
-ifeq ($(MAKE_EXPORTS), true)
- $(INSTALL_DATA) $(POSTGRES_IMP) $(libdir)/$(POSTGRES_IMP)
-endif
+install: all installdirs install-bin
ifeq ($(PORTNAME), win)
ifeq ($(MAKE_DLL), true)
$(INSTALL_DATA) libpostgres.a $(libdir)/libpostgres.a
@@ -133,6 +127,15 @@ endif
installdirs:
$(mkinstalldirs) $(bindir) $(libdir) $(datadir)
+install-bin:
+ $(INSTALL_PROGRAM) postgres$(X) $(bindir)/postgres$(X)
+ @rm -f $(bindir)/postmaster
+ ln -s postgres$(X) $(bindir)/postmaster
+ifeq ($(MAKE_EXPORTS), true)
+ $(INSTALL_DATA) $(POSTGRES_IMP) $(libdir)/$(POSTGRES_IMP)
+endif
+
+.PHONY: install installdirs install-bin
##########################################################################