1# ---------- 2# Makefile for share 3# 4# Copyright (c) 2003-2009, PostgreSQL Global Development Group 5# Author: Jan Wieck, Afilias USA INC. 6# 7# 8# ---------- 9 10slony_subdir = share 11slony_top_builddir = .. 12include $(slony_top_builddir)/Makefile.global 13 14DISTFILES = Makefile slon.conf-example upstart-slon.conf-sample 15 16CONF_NAMES = slon.conf-sample upstart-slon.conf-sample 17 18install: 19 for file in $(CONF_NAMES); do \ 20 $(INSTALL_DATA) $$file $(DESTDIR)$(sysconfdir) || exit ; \ 21 done 22 23distdir: $(DISTFILES) 24 mkdir $(distdir)/$(subdir) 25 -chmod 777 $(distdir)/$(subdir) 26 for file in $(DISTFILES) ; do \ 27 cp $$file $(distdir)/$(subdir)/$$file || exit; \ 28 done 29