Makefile
branchimmsview
changeset 21 8ccee783880a
child 23 e0e59c2c5b46
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Fri Feb 06 01:10:49 2004 -0500
@@ -0,0 +1,12 @@
+REMOTE_DIR=o:public_html/oss/immsview
+VERSION=$(shell python -c 'from imp import load_source; \
+		print load_source(".","immsview")._version_' \
+		| sed -e 's;\$$Id$$;\1;')
+
+index.html: index.html.in immsview
+	perl -p -e 's;\@IMMSVIEW_VERSION\@;$(VERSION);g' $< > $@
+
+update: immsview index.html
+	rsync -zp $^ $(REMOTE_DIR)/
+
+.PHONY: index.html
\ No newline at end of file