author | fabien |
Sat, 07 Feb 2004 13:29:53 -0500 | |
branch | immsview |
changeset 30 | a7f7026f9416 |
parent 23 | e0e59c2c5b46 |
child 31 | 13f56bb29b96 |
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 |
||
30 | 9 |
update: immsview index.html immsview-screenshot-1.png immsview-ss-small-1.png |
21 | 10 |
rsync -zp $^ $(REMOTE_DIR)/ |
11 |
||
30 | 12 |
.PHONY: index.html |