Makefile
branchimmsview
changeset 21 8ccee783880a
child 23 e0e59c2c5b46
equal deleted inserted replaced
20:7af7e8196170 21:8ccee783880a
       
     1 REMOTE_DIR=o:public_html/oss/immsview
       
     2 VERSION=$(shell python -c 'from imp import load_source; \
       
     3 		print load_source(".","immsview")._version_' \
       
     4 		| sed -e 's;\$$Id$$;\1;')
       
     5 
       
     6 index.html: index.html.in immsview
       
     7 	perl -p -e 's;\@IMMSVIEW_VERSION\@;$(VERSION);g' $< > $@
       
     8 
       
     9 update: immsview index.html
       
    10 	rsync -zp $^ $(REMOTE_DIR)/
       
    11 
       
    12 .PHONY: index.html