Mercurial > hg > batmud > maputils
changeset 7:939e6a6b480b
Updates
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Apr 2006 15:41:56 +0000 |
parents | 781f97b31175 |
children | a0dd3254e488 |
files | Makefile.gen |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.gen Fri Apr 28 11:46:53 2006 +0000 +++ b/Makefile.gen Fri Apr 28 15:41:56 2006 +0000 @@ -18,6 +18,9 @@ TARGETS=$(MKMAP_BIN) $(COLORMAP_BIN) $(MAKEBCMAP_BIN) votk.html batcity.html batcity.txt lanzia.html +MAPFILES=batcity.html batcity.txt tooltip.js votk.html votk.map lanzia.html lanzia.map +TARFILE=maps.tar + # # Target rules # @@ -54,14 +57,14 @@ lanzia.html: lanzia.map $(COLORMAP_BIN) $(COLORMAP_BIN) "The isle of Lanzia" < $< > $@ -tar: batcity.html batcity.txt tooltip.js - tar -cf batcity.tar $+ && gzip -9 batcity.tar && scp batcity.tar.gz mhamalai@students.oamk.fi:public_html/ - # # Special targets # -upload: batcity.html batcity.txt tooltip.js votk.html votk.map lanzia.html lanzia.map +tar: $(MAPFILES) + tar -cf $(TARFILE) $+ && gzip -9 $(TARFILE) && scp $(TARFILE).gz mhamalai@students.oamk.fi:public_html/ + +upload: $(MAPFILES) scp $+ mhamalai@students.oamk.fi:public_html/bat/ clean: