[svn] Many cleanup, both architecture (division of interface), encoding
behavior and also many bugs corrected.
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