From 77524e3f723f9b68b85981de030a8fc69c072232 Mon Sep 17 00:00:00 2001 From: Christopher Powell Date: Sun, 17 Nov 2002 04:23:59 +0000 Subject: Many more doc edits. Reworked the makefile to use ssh/scp for 'make distro'. --- Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0c7a7a3..3f9fcef 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.14 2002/11/15 03:55:25 helios Exp $ +# $Id: Makefile,v 1.15 2002/11/17 04:23:57 helios Exp $ ##################################### # Important: @@ -30,6 +30,7 @@ LATEX = /usr/bin/latex DVIPS = /usr/bin/dvips LINKS = /usr/bin/links L2H = /usr/local/bin/latex2html +WEBSERV = gw0.corp ifdef MODSSLHDRS SSLDEF = -DWANT_SSL_LOGGING @@ -72,10 +73,11 @@ clean: $(RM) -f Documentation/*.txt distro: documentation - cp -f CHANGELOG $(APACHEINST)/html/mod_log_sql/ - cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS mod_log_sql/; $(INSTALL) mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz - $(RM) $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz - ln -s mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz + @scp CHANGELOG $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs + @scp Documentation/*.ps $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs + @scp Documentation/HTML/*.html $(WEBSERV):$(APACHEINST)/html/mod_log_sql/docs/ + @cd ..; tar zcf mod_log_sql-$(MLMVERS).tar.gz --exclude mod_log_sql/CVS --exclude mod_log_sql/Documentation/CVS --exclude mod_log_sql/Documentation/HTML/CVS --exclude ".directory" mod_log_sql/; scp mod_log_sql-$(MLMVERS).tar.gz $(WEBSERV):$(APACHEINST)/html/mod_log_sql/; rm -f mod_log_sql-$(MLMVERS).tar.gz + @ssh $(WEBSERV) "ln -sf mod_log_sql-$(MLMVERS).tar.gz $(APACHEINST)/html/mod_log_sql/mod_log_sql.tar.gz" documentation: Documentation/documentation.lyx @echo "Creating LaTeX docs..." -- cgit