From 6a7dbc5473b36c61ebbfca1eb86e8061083a91ab Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 28 Feb 2021 17:47:41 +0100 Subject: convert map definition to YAML We don't use our own map definition syntax which was not documented and fragile. YAML is more common and is easier to parse. --- maps/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'maps/Makefile') diff --git a/maps/Makefile b/maps/Makefile index 45254c04..98fac22e 100644 --- a/maps/Makefile +++ b/maps/Makefile @@ -2,17 +2,17 @@ .DEFAULT_GOAL = all -MAPS = $(shell find . -name "*.map") +MAPS = $(shell find . -name "*.yml") VERBOSE = @ -PNGS = $(MAPS:.map=.png) +PNGS = $(MAPS:.yml=.png) MAKEFILE_LIST = Makefile all: $(PNGS) -%.png : %.map $(MAKEFILE_LIST) +%.png : %.yml $(MAKEFILE_LIST) @echo "generate map › $@" $(VERBOSE) python3 ../scripts/generate_map_img.py $< -- cgit v1.2.3