Makefile
author fabien
Fri, 06 Feb 2004 19:53:02 -0500
branchimmsview
changeset 22 7441fc82f74d
parent 21 8ccee783880a
child 23 e0e59c2c5b46
permissions -rw-r--r--
[svn] Make a gradient of color instead... I'm not sure which one I prefer however.

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