Makefile
author fabien
Thu, 12 Feb 2004 09:43:48 -0500
branchimmsview
changeset 36 e648d6852983
parent 31 13f56bb29b96
permissions -rw-r--r--
[svn] Better OO approach.

REMOTE_DIR=o:public_html/oss/immsview
VERSION=$(shell python -c 'from imp import load_source; \
		print load_source(".","immsview")._version_' \
		| sed -e 's;\$$\I\d\: immsview,v \(.*\) fabien Exp \$$;\1;')

index.html: index.html.in immsview
	perl -p -e 's;\@IMMSVIEW_VERSION\@;$(VERSION);g' $< > $@

update: immsview index.html immsview-screenshot-1.png immsview-ss-small-1.png
	rsync -zp $^ $(REMOTE_DIR)/

.PHONY: index.html