summaryrefslogtreecommitdiff
path: root/src/bin/initlocation
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-06-27 00:32:06 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-06-27 00:32:06 +0000
commit5bb8b62983799c8bb5ef2e578629dbd2705bbd52 (patch)
tree75199eec2bcf58ab455f7adab52285580d97e4be /src/bin/initlocation
parentecef326850ab087d78f217f8d97008d3974cbd76 (diff)
downloadpostgresql-5bb8b62983799c8bb5ef2e578629dbd2705bbd52.tar.gz
Makefile cleanup for bin and pl subtrees. They should now support
all the standard semantics. Also get rid of Makefile.in's on the way and instead declare all variables in Makefile.global.
Diffstat (limited to 'src/bin/initlocation')
-rw-r--r--src/bin/initlocation/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/bin/initlocation/Makefile b/src/bin/initlocation/Makefile
index 410bba1c64..ca811c03e3 100644
--- a/src/bin/initlocation/Makefile
+++ b/src/bin/initlocation/Makefile
@@ -1,28 +1,30 @@
#-------------------------------------------------------------------------
#
-# Makefile.inc--
-# Makefile for bin/initlocation
+# Makefile for src/bin/initlocation
#
# Copyright (c) 1994, Regents of the University of California
#
-#
-# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.8 1999/12/08 10:29:43 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.9 2000/06/27 00:31:00 petere Exp $
#
#-------------------------------------------------------------------------
-SRCDIR= ../..
+subdir = src/bin/initlocation
+top_builddir = ../../..
include ../../Makefile.global
all: initlocation
initlocation: initlocation.sh
- cp -p initlocation.sh initlocation
+ cp $< $@
-install: initlocation
- $(INSTALL) $(INSTL_EXE_OPTS) $+ $(BINDIR)
+install: all installdirs
+ $(INSTALL_SCRIPT) initlocation $(bindir)/initlocation
-clean:
- rm -f initlocation
+installdirs:
+ $(mkinstalldirs) $(bindir)
-dep depend:
+uninstall:
+ rm -f $(bindir)/initlocation
+
+clean distclean maintainer-clean:
+ rm -f initlocation