Update of /cvsroot/plplot/www/announce
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21797/announce
This is a first attempt at a remote installation of the PLplot website at
SourceForge, with the goal to replace the script replace-htdocs.sh,
currently in the shell.sf.net host.
To install the web site, just type:
USER=joeplplotter make install
and everything will be built and uploaded automatically, including the stuff
in the announce directory.
Sensible variables are defined in file Makefile-vars, which is included by
both Makefile and announce/Makefile.
Needless to say, this only works with GNU make.
Caveat: make install will happily upload the entire contents of the
subdirectories. This means that it may upload useless files, most notably
the CVS directories present when working from a cvs checked out source.
Using cvs export is more appropriate here, although the useless files will
not hurt the web site. I may try to find a fix for this in the future.
RCS file: /cvsroot/plplot/www/announce/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile 4 Feb 2004 08:37:20 -0000 1.5
+++ Makefile 4 Feb 2004 21:20:46 -0000 1.6
@@ -1,3 +1,10 @@
+# Makefile for remotely installing the release announcements in the PLplot
+# web site (only works with GNU make)
+# Rafael Labosisiere, 2004-02-04
SOURCES = announce-plplot-5.3.0
DOCBOOK_XSL = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl
ENV = XML_CATALOG_FILES=/usr/share/sgml/docbook/dtd/xml/4.2/catalog.xml
@@ -7,6 +14,16 @@
TARGETS = $(SOURCES:%=%.xhtml) $(SOURCES:%=%.txt) $(SOURCES:%=%.pdf)
+WWW_FILES = \
+ announce-plplot-5.1.0.html \
+ announce-plplot-5.2.1.html \
+ announce.css \
+ ChangeLog-5.2.1-5.3.0 \
+ $(SOURCES:%=%.xml) \
+ $(TARGETS) \
%.html: %.xml html.xsl
@@ -30,5 +47,10 @@
rm -f *.xhtml *.html *.txt *.pdf
+ ssh $(USER_AT_HOST) rm -rf $(WWW_DIR)/announce
+ ssh $(USER_AT_HOST) mkdir $(WWW_DIR)/announce
+ scp -r $(WWW_FILES) $(USER_AT_HOST):$(WWW_DIR)/announce
.PHONY: all clean validate