CVS User Account cvsuser
Tue Nov 2 17:56:06 PST 2004
Log Message:
-----------
install the sample conf, when doing a make install

Modified Files:
--------------
    slony1-engine:
        GNUmakefile.in (r1.15 -> r1.16)

Added Files:
-----------
    slony1-engine/share:
        Makefile (r1.1)

-------------- next part --------------
Index: GNUmakefile.in
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/GNUmakefile.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -LGNUmakefile.in -LGNUmakefile.in -u -w -r1.15 -r1.16
--- GNUmakefile.in
+++ GNUmakefile.in
@@ -33,7 +33,7 @@
 	echo "All of Slony-I is successfully made. Ready to install"
 
 install	installdirs:
-	@for subdir in src doc tools ; do \
+	@for subdir in src doc tools share ; do \
 	  $(MAKE) -C $$subdir $@ || exit; \
     done && \
 	echo "All of Slony-I is successfully installed"
--- /dev/null
+++ share/Makefile
@@ -0,0 +1,28 @@
+# ----------
+# Makefile for share
+#
+#	Copyright (c) 2003-2004, PostgreSQL Global Development Group
+#	Author: Jan Wieck, Afilias USA INC.
+#
+#	$Id: Makefile,v 1.1 2004/11/02 17:55:06 darcyb Exp $
+# ----------
+
+slony_subdir = share
+slony_top_builddir = ..
+include $(slony_top_builddir)/Makefile.global
+
+DISTFILES = Makefile slon.conf-example
+
+CONF_NAMES = slon.conf-sample
+
+install: 
+	for file in $(CONF_NAMES); do \
+	  $(INSTALL_SCRIPT) $$file $(DESTDIR)$(pgsharedir) || exit ; \
+	done
+
+distdir: $(DISTFILES)
+	mkdir $(distdir)/$(subdir)
+	-chmod 777 $(distdir)/$(subdir)
+	for file in $(DISTFILES) ; do \
+      cp $$file $(distdir)/$(subdir)/$$file ; \
+    done


More information about the Slony1-commit mailing list