| author | fabien | 
| Fri, 06 Feb 2004 19:53:02 -0500 | |
| branch | immsview | 
| changeset 22 | 7441fc82f74d | 
| parent 21 | 8ccee783880a | 
| child 23 | e0e59c2c5b46 | 
| permissions | -rw-r--r-- | 
| 21 | 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 |