aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_dumpaccounts/Makefile
blob: edaebff38ed7f221dae9aab1f920e2c418d40f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#-------------------------------------------------------------------------
#
# Makefile for contrib/pg_dumpaccounts
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/contrib/pg_dumpaccounts/Attic/Makefile,v 1.2 2000/11/02 18:20:12 wieck Exp $
#
#-------------------------------------------------------------------------

subdir = contrib/pg_dumpaccounts
top_builddir = ../..
include $(top_builddir)/src/Makefile.global

all: pg_dumpaccounts

pg_dumpaccounts: pg_dumpaccounts.sh
	sed -e 's,@VERSION@,$(VERSION),g' \
	    -e 's,@MULTIBYTE@,$(MULTIBYTE),g' \
	    -e 's,@bindir@,$(bindir),g' \
	  $< >$@
	chmod a+x $@

install: all installdirs
	$(INSTALL_SCRIPT) pg_dumpaccounts $(DESTDIR)$(bindir)/pg_dumpaccounts

installdirs:
	$(mkinstalldirs) $(DESTDIR)$(bindir)

uninstall:
	rm -f $(addprefix $(DESTDIR)$(bindir)/, pg_dumpaccounts)

depend dep:

clean distclean maintainer-clean:
	rm -f pg_dumpaccounts