diff options
| author | metamuffin <metamuffin@disroot.org> | 2025-10-09 00:10:12 +0200 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2025-10-09 00:10:12 +0200 |
| commit | 02e319e506738ba39ee8edb96d11d6d91105d544 (patch) | |
| tree | 83cfba5d7842286c25b0150855092582577ca8c4 /makefile | |
| parent | 4e069bc9d7f033aba601dc52a2e0b0065b60d513 (diff) | |
| download | hurrycurry-02e319e506738ba39ee8edb96d11d6d91105d544.tar hurrycurry-02e319e506738ba39ee8edb96d11d6d91105d544.tar.bz2 hurrycurry-02e319e506738ba39ee8edb96d11d6d91105d544.tar.zst | |
cook tomato sauce for noodles
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -30,8 +30,9 @@ EDITOR = target/release/hurrycurry-editor ALL_TESTCLIENT = test-client/main.js $(patsubst locale/%.ini,test-client/locale/%.json,$(wildcard locale/*.ini)) ALL_BOOK = target/book/book.html ALL_SERVER = $(SERVER) $(TOOLS) $(REPLAYTOOL) $(EDITOR) $(DISCOVER) $(LOCALE_EXPORT) -ALL_CLIENT = client/.godot/import-finished client/icons/adaptive-background.png client/icons/adaptive-foreground.png -ALL = $(ALL_BOOK) $(ALL_SERVER) $(ALL_CLIENT) +ALL_CLIENT = client/.godot/import-finished client/icons/adaptive-background.png client/icons/adaptive-foreground.png +ALL_DATA = data/recipes/none.yaml data/recipes/anticurry.yaml data/recipes/default.yaml +ALL = $(ALL_BOOK) $(ALL_SERVER) $(ALL_CLIENT) $(ALL_DATA) .PHONY: all clean all_client all_server all_book all_testclient all: $(ALL) all_client: $(ALL_CLIENT) @@ -44,17 +45,15 @@ clean: target/release/%: $(shell find server -type f -name '*.rs') cargo build --release --bin $(patsubst target/release/%,%,$@); touch $@ -target/book/tiles/list: $(TOOLS) +target/book/tiles/list: $(TOOLS) $(ALL_DATA) @mkdir -p $(dir $@); $(TOOLS) map-tiles 5star > $@~ && cp $@~ $@ -target/book/items/list: $(TOOLS) +target/book/items/list: $(TOOLS) $(ALL_DATA) @mkdir -p $(dir $@); $(TOOLS) map-items 5star > $@~ && cp $@~ $@ target/book/tiles/done: target/book/tiles/list client/.godot/import-finished - $(CLIENT) --render-tiles ../$< --render-output ../$(dir $@) --render-resolution 256 - touch $@ + $(CLIENT) --render-tiles ../$< --render-output ../$(dir $@) --render-resolution 256; touch $@ target/book/items/done: target/book/items/list client/.godot/import-finished - $(CLIENT) --render-items ../$< --render-output ../$(dir $@) --render-resolution 256 - touch $@ -target/book/book.html: target/book/tiles/done target/book/items/done $(BOOK_EXPORT) + $(CLIENT) --render-items ../$< --render-output ../$(dir $@) --render-resolution 256; touch $@ +target/book/book.html: target/book/tiles/done target/book/items/done $(BOOK_EXPORT) $(ALL_DATA) $(BOOK_EXPORT) -f html -m 5star > $@~ && cp $@~ $@ data/recipes/none.yaml: |