aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-24 21:04:17 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-24 21:04:17 +0200
commit269da6178e51f727a2b80a784e59981a13704df4 (patch)
tree0fd4a764530c706ebc32a2e59edc87c09a9e4fc3 /makefile
parente67d2d03f9e2d66a24a6b7561146af589e019891 (diff)
downloadhurrycurry-269da6178e51f727a2b80a784e59981a13704df4.tar
hurrycurry-269da6178e51f727a2b80a784e59981a13704df4.tar.bz2
hurrycurry-269da6178e51f727a2b80a784e59981a13704df4.tar.zst
book export file output option
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index f09a586f..8329192c 100644
--- a/makefile
+++ b/makefile
@@ -55,7 +55,9 @@ target/book/tiles/done: target/book/tiles/list client/.godot/import-finished
target/book/items/done: target/book/items/list client/.godot/import-finished
$(CLIENT) --render-items ../$< --render-output ../$(dir $@) --render-resolution 512; touch $@
target/book/book.%.html: target/book/tiles/done target/book/items/done $(BOOK_EXPORT) $(ALL_DATA) locale/en.ini locale/%.ini
- $(BOOK_EXPORT) -l $(shell basename -s .html $@ | cut -d '.' -f 2) -f html -m 5star > $@~ && cp $@~ $@
+ $(BOOK_EXPORT) -o $@ -l $(shell basename -s .html $@ | cut -d '.' -f 2) -f html -m 5star
+target/book/book.html: target/book/book.en.html
+ cp -v $< $@
data/recipes/none.yaml:
echo > $@