author | fabien |
Sat, 07 Feb 2004 10:58:54 -0500 | |
branch | immsview |
changeset 28 | 7f61cb2ddb7b |
parent 23 | e0e59c2c5b46 |
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 |