mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 04:56:54 +02:00
94b8640cd9
Derived from pg_dumpall it just dumps users and groups. Jan
38 lines
948 B
Makefile
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
|
|
|