summaryrefslogtreecommitdiff
path: root/src/bin/ipcclean
diff options
context:
space:
mode:
authorPeter Eisentraut2000-06-27 00:32:06 +0000
committerPeter Eisentraut2000-06-27 00:32:06 +0000
commit5bb8b62983799c8bb5ef2e578629dbd2705bbd52 (patch)
tree75199eec2bcf58ab455f7adab52285580d97e4be /src/bin/ipcclean
parentecef326850ab087d78f217f8d97008d3974cbd76 (diff)
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/ipcclean')
-rw-r--r--src/bin/ipcclean/Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/bin/ipcclean/Makefile b/src/bin/ipcclean/Makefile
index 2f741a0dc2e..152fba5b02a 100644
--- a/src/bin/ipcclean/Makefile
+++ b/src/bin/ipcclean/Makefile
@@ -1,16 +1,15 @@
#-------------------------------------------------------------------------
#
-# Makefile for bin/ipcclean
+# Makefile for src/bin/ipcclean
#
# Copyright (c) 1994, Regents of the University of California
#
-#
-# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.10 2000/04/14 23:43:43 petere Exp $
+# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.11 2000/06/27 00:31:05 petere Exp $
#
#-------------------------------------------------------------------------
-SRCDIR= ../..
+subdir = src/bin/ipcclean
+top_builddir = ../../..
include ../../Makefile.global
all: ipcclean
@@ -18,10 +17,14 @@ all: ipcclean
ipcclean: ipcclean.sh
cp $< $@
-install: ipcclean
- $(INSTALL) $(INSTL_EXE_OPTS) $^ $(BINDIR)
+install: all installdirs
+ $(INSTALL_SCRIPT) ipcclean $(bindir)/ipcclean
-clean:
- rm -f ipcclean
+installdirs:
+ $(mkinstalldirs) $(bindir)
-dep depend:
+uninstall:
+ rm -f $(bindir)/ipcclean
+
+clean distclean maintainer-clean:
+ rm -f ipcclean