OSDN Git Service

Make building scripts kind of consistent in look and feel, kind of immune
[pg-rex/syncrep.git] / src / bin / ipcclean / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile for src/bin/ipcclean
4 #
5 # Copyright (c) 1994, Regents of the University of California
6 #
7 # $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.13 2000/09/08 18:29:23 petere Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/bin/ipcclean
12 top_builddir = ../../..
13 include $(top_builddir)/src/Makefile.global
14
15 all: ipcclean
16
17 ipcclean: ipcclean.sh
18         cp $< $@
19         chmod a+x $@
20
21 install: all installdirs
22         $(INSTALL_SCRIPT) ipcclean $(bindir)/ipcclean
23
24 installdirs:
25         $(mkinstalldirs) $(bindir)
26
27 uninstall:
28         rm -f $(bindir)/ipcclean
29
30 clean distclean maintainer-clean:
31         rm -f ipcclean