diff maps/Makefile @ 1547:2768b2b396a5

Cosmetics and comments.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 03 Mar 2015 19:07:50 +0200
parents 796cf56a9b0a
children b2920faf3096
line wrap: on
line diff
--- a/maps/Makefile	Tue Mar 03 19:03:30 2015 +0200
+++ b/maps/Makefile	Tue Mar 03 19:07:50 2015 +0200
@@ -1,9 +1,9 @@
 include ../config.mak
 include config.mak
 
-#
-# Mangles and targets
-#
+###
+### Main targets
+###
 TARGETS=$(addsuffix .html,$(MAPLIST)) \
 	$(addsuffix .ansi,$(MAPLIST)) \
 	$(addsuffix .png,$(MAPLIST))
@@ -11,6 +11,9 @@
 #	$(addsuffix .htm,$(MAPLIST)) \
 
 
+###
+### If no target specified, show some help
+###
 all:
 	@echo "Usage: make <maps|fetch|diff|upload|clean>"
 	@echo
@@ -26,10 +29,13 @@
 	@echo
 
 
+###
+### Maps
+###
 maps: $(addsuffix .ppm,$(MAPLIST)) $(TARGETS)
 
+include Makefile.inc
 
-include Makefile.inc
 
 ###
 ### Special targets
@@ -81,12 +87,12 @@
 	$(RM) *~
 
 update:
-	@echo "* Updating from HG ..."
+	@echo "* Updating from Mercurial repo ..."
 	@hg fetch
 
 .changelog: update
 	@echo "* Making ChangeLog ..."
-	@hg2cl --strip-prefix "maputils/trunk/maps/"
+	@hg2cl
 	@touch $@
 
 ChangeLog: .changelog