changeset 4:380f99b42900

Updates
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 28 Apr 2006 08:08:10 +0000
parents 22055d99f4eb
children 22d1a53d5d17
files Makefile.gen
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.gen	Thu Apr 27 02:58:55 2006 +0000
+++ b/Makefile.gen	Fri Apr 28 08:08:10 2006 +0000
@@ -16,7 +16,7 @@
 COLORMAP_BIN=$(BINPATH)colormap$(EXEEXT)
 MAKEBCMAP_BIN=$(BINPATH)mkbcmap$(EXEEXT)
 
-TARGETS=$(MKMAP_BIN) $(COLORMAP_BIN) $(MAKEBCMAP_BIN) votk.html batcity.html
+TARGETS=$(MKMAP_BIN) $(COLORMAP_BIN) $(MAKEBCMAP_BIN) votk.html batcity.html lanzia.html
 
 #
 # Target rules
@@ -42,16 +42,20 @@
 	$(MKMAP_BIN) -o $@ -r 800 -w 13 -h 7 $< -v -m 70
 
 batcity.html: $(MAKEBCMAP_BIN) batcity2.cmap batcity.cnam tooltip.js
-	$(MAKEBCMAP_BIN) "New BatCity map (`date +"%d.%m.%Y %R"`) by Ggr Pupunen" batcity2.cmap batcity.cnam > $@
-
-#	scp $@ tooltip.js mhamalai@students.oamk.fi:public_html/bat/
+	$(MAKEBCMAP_BIN) "New BatCity map (as of `date +"%d.%m.%Y %R"`) by Ggr Pupunen" batcity2.cmap batcity.cnam > $@
 
 votk.html: votk.map $(COLORMAP_BIN)
-	$(COLORMAP_BIN) "Valley of the Kings map (`date +"%d.%m.%Y %R"`) by Ggr Pupunen" < $< > $@
+	$(COLORMAP_BIN) "Valley of the Kings" < $< > $@
+
+lanzia.html: lanzia.map $(COLORMAP_BIN)
+	$(COLORMAP_BIN) "The isle of Lanzia" < $< > $@
 
 #
 # Special targets
 #
+upload: batcity.html tooltip.js votk.html lanzia.html
+	scp $+ mhamalai@students.oamk.fi:public_html/bat/
+
 clean:
 	$(RM) -f $(TARGETS) *.o