diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-09-04 18:09:17 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-09-04 18:11:13 +0200 |
| commit | 7fe12cc107cca222ed5581543654f803ca2d860b (patch) | |
| tree | 452685a1505ae83f7cba8304ab531c7d55f77297 /maps | |
| parent | 0727ee683e57f0f36b0a0bb764e30a18830ed675 (diff) | |
| download | muhqs-game-7fe12cc107cca222ed5581543654f803ca2d860b.tar.gz muhqs-game-7fe12cc107cca222ed5581543654f803ca2d860b.zip | |
allow the maps Makefile to use the pipenv virtual environment
Diffstat (limited to 'maps')
| -rw-r--r-- | maps/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/maps/Makefile b/maps/Makefile index 9ed6dc36..ab3c5db6 100644 --- a/maps/Makefile +++ b/maps/Makefile @@ -4,7 +4,8 @@ VERBOSE = @ PNGS = $(MAPS:.yml=.png) -GENERATE_MAP_IMG=../scripts/generate_map_img.py +PY_ENV_PREFIX ?= +GENERATE_MAP_IMG = ../scripts/generate_map_img.py MAKEFILE_LIST = Makefile @@ -13,7 +14,7 @@ all: $(PNGS) %.png : %.yml $(MAKEFILE_LIST) $(GENERATE_MAP_IMG) @echo "generate map › $@" - $(VERBOSE) $(GENERATE_MAP_IMG) $< + $(VERBOSE) $(PY_ENV_PREFIX) $(GENERATE_MAP_IMG) $< clean: rm -f $(PNGS) |
