Makefile
branchimmsview
changeset 31 13f56bb29b96
parent 30 a7f7026f9416
equal deleted inserted replaced
30:a7f7026f9416 31:13f56bb29b96
     1 REMOTE_DIR=o:public_html/oss/immsview
     1 REMOTE_DIR=o:public_html/oss/immsview
     2 VERSION=$(shell python -c 'from imp import load_source; \
     2 VERSION=$(shell python -c 'from imp import load_source; \
     3 		print load_source(".","immsview")._version_' \
     3 		print load_source(".","immsview")._version_' \
     4 		| sed -e 's;\$$Id$$;\1;')
     4 		| sed -e 's;\$$\I\d\: immsview,v \(.*\) fabien Exp \$$;\1;')
     5 
     5 
     6 index.html: index.html.in immsview
     6 index.html: index.html.in immsview
     7 	perl -p -e 's;\@IMMSVIEW_VERSION\@;$(VERSION);g' $< > $@
     7 	perl -p -e 's;\@IMMSVIEW_VERSION\@;$(VERSION);g' $< > $@
     8 
     8 
     9 update: immsview index.html immsview-screenshot-1.png immsview-ss-small-1.png
     9 update: immsview index.html immsview-screenshot-1.png immsview-ss-small-1.png