Mercurial > hg > batmud > maputils
changeset 2526:3433e50fd516
Upload .map files when needed.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 Aug 2023 15:19:16 +0300 |
parents | 562c0d7b25fb |
children | 32accf045d51 |
files | world/Makefile |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/world/Makefile Mon Aug 14 13:08:53 2023 +0300 +++ b/world/Makefile Mon Aug 14 15:19:16 2023 +0300 @@ -33,10 +33,11 @@ util.js changelog.txt LOCFILES = $(addsuffix .loc,$(WORLD_MAPS) $(EXTRA_WORLD_MAPS)) special.loc limbo.loc +EXTRA_MAP_UPLOAD += $(addsuffix .map,$(WORLD_MAPS) $(EXTRA_WORLD_MAPS)) ifeq ($(HAVE_PHP),yes) TARGETS += markers.xml -EXTRA_UPLOAD += markers.xml +EXTRA_LOC_UPLOAD += markers.xml endif @@ -155,12 +156,12 @@ # Upload changed files to site -upload: $(TARGETS) $(LOCFILES) $(EXTRA_UPLOAD) +upload: $(TARGETS) $(LOCFILES) $(EXTRA_LOC_UPLOAD) $(EXTRA_MAP_UPLOAD) $(RSCP_COMMAND) $? $(RSCP_UPLOAD_URL) @touch $@ # Upload only *.loc files -uploc: $(LOCFILES) $(EXTRA_UPLOAD) +uploc: $(LOCFILES) $(EXTRA_LOC_UPLOAD) $(RSCP_COMMAND) $+ $(RSCP_UPLOAD_URL) # Clean temporary and generated targets