| author | fabien | 
| Fri, 06 Feb 2004 19:56:40 -0500 | |
| branch | immsview | 
| changeset 23 | e0e59c2c5b46 | 
| parent 21 | 8ccee783880a | 
| child 30 | a7f7026f9416 | 
| permissions | -rw-r--r-- | 
| 23 | 1  | 
MAKEFILE_VERSION="$Id$"  | 
| 21 | 2  | 
REMOTE_DIR=o:public_html/oss/immsview  | 
3  | 
VERSION=$(shell python -c 'from imp import load_source; \  | 
|
4  | 
		print load_source(".","immsview")._version_' \
 | 
|
5  | 
| sed -e 's;\$$Id$$;\1;')  | 
|
6  | 
||
7  | 
index.html: index.html.in immsview  | 
|
8  | 
perl -p -e 's;\@IMMSVIEW_VERSION\@;$(VERSION);g' $< > $@  | 
|
9  | 
||
10  | 
update: immsview index.html  | 
|
11  | 
rsync -zp $^ $(REMOTE_DIR)/  | 
|
12  | 
||
13  | 
.PHONY: index.html  |