changeset 2438:f90494b8efa7

Possibly fix the changelog.txt not updating properly -issue.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 01 May 2022 15:09:55 +0300
parents d5f1f44191f8
children 61c2e037646a
files world/Makefile
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/world/Makefile	Sun May 01 15:08:41 2022 +0300
+++ b/world/Makefile	Sun May 01 15:09:55 2022 +0300
@@ -73,9 +73,10 @@
 ### Special targets
 ###
 changelog.txt: $(addsuffix .map,$(WORLD_MAPS)) \
-	$(LOCFILES) \
+	$(addsuffix .loc,$(WORLD_MAPS)) \
 	$(addprefix ../$(MISC_MAPS_PATH),$(addsuffix .map,$(MISC_MAPS))) \
 	$(addprefix ../$(MISC_MAPS_PATH),$(addsuffix .loc,$(MISC_MAPS)))
+	@hg up
 	@( echo '<?xml version="1.0"?>' && echo '<log>' && \
 	hg log $+ -M -v -f --template \
 	'<logentry revision="{rev}"><author>{author|escape}</author><date>{date|isodate}</date><paths><path>{files}</path></paths><msg>{desc|escape}</msg></logentry>\n' && \