postgresql/contrib/pg_dumpaccounts/Makefile
Jan Wieck 94b8640cd9 Added utility script pg_dumpaccounts to contrib.
Derived from pg_dumpall it just dumps users and groups.

Jan
2000-11-02 18:20:12 +00:00

38 lines
948 B
Makefile

#-------------------------------------------------------------------------
#
# 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