CVS User Account cvsuser
Mon Feb 14 22:28:39 PST 2005
Log Message:
-----------
Make "all" the default target.

Install slon_start, slon_kill, etc. instead of slon_start.pl,
slon_kill.pl, etc.

Modified Files:
--------------
    slony1-engine/tools/altperl:
        Makefile (r1.4 -> r1.5)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Ltools/altperl/Makefile -Ltools/altperl/Makefile -u -w -r1.4 -r1.5
--- tools/altperl/Makefile
+++ tools/altperl/Makefile
@@ -12,19 +12,6 @@
 
 DISTFILES = Makefile ToDo README $(wildcard *.pl) $(wildcard *.pm) slon_tools.conf-sample
 
-distdir: $(DISTFILES)
-	mkdir $(distdir)/$(subdir)
-	-chmod 777 $(distdir)/$(subdir)
-	for file in $(DISTFILES) ; do \
-      cp $$file $(distdir)/$(subdir)/$$file ; \
-    done
-
-clean distclean maintainer-clean:
-	@for file in $(wildcard *.pl); do \
-		tmpname=`echo $$file | $(SED) "s#\.pl##"` ; \
-		rm $$tmpname ; \
-	done
-
 all:
 ifndef PERL
 	@echo "The altperl tools require that Perl be installed."
@@ -39,14 +26,28 @@
 		$(SED) -e "s#@@PERL@@#$(PERL)#;" \
                        -e "s#@@SYSCONFDIR@@#$(sysconfdir)#;" \
                        -e "s#@@PGLIBDIR@@#$(pglibdir)#;" \
-                       -e "s#@@PGBINDIR@@#$(pgbindir)#;" $$file > $$tmpname; \
+                       -e "s#@@PGBINDIR@@#$(pgbindir)#;" \
+                       $$file > $$tmpname; \
 		chmod 755 $$tmpname; \
 	done
 
 install: all
 	$(INSTALL_DATA)   slon_tools.conf-sample $(sysconfdir)
 	$(INSTALL_DATA)   slon-tools.pm          $(pglibdir)
-	$(INSTALL_SCRIPT) slon_start.pl          $(pgbindir)
-	$(INSTALL_SCRIPT) slon_kill.pl           $(pgbindir)
-	$(INSTALL_SCRIPT) slon_watchdog.pl       $(pgbindir)
+	$(INSTALL_SCRIPT) slon_start             $(pgbindir)
+	$(INSTALL_SCRIPT) slon_kill              $(pgbindir)
+	$(INSTALL_SCRIPT) slon_watchdog          $(pgbindir)
+
+distdir: $(DISTFILES)
+	mkdir $(distdir)/$(subdir)
+	-chmod 777 $(distdir)/$(subdir)
+	for file in $(DISTFILES) ; do \
+		cp $$file $(distdir)/$(subdir)/$$file ; \
+	done
+
+clean distclean maintainer-clean:
+	@for file in $(wildcard *.pl); do \
+		tmpname=`echo $$file | $(SED) "s#\.pl##"` ; \
+		rm $$tmpname ; \
+	done
 


More information about the Slony1-commit mailing list