Buchtitel: Operation Sterling

This commit is contained in:
2026-06-25 23:46:43 +02:00
parent 24aade56fc
commit ea4c25c185
3 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
TITLE := KI Story
AUTHOR := Stefan Mühlinghaus
TITLE := Operation Sterling
AUTHOR := Jazzman
FILENAME := operation-sterling
DOCKER_CMD := docker run --rm -v "$(shell pwd):/data" --user $(shell id -u):$(shell id -g) fpod/pandoc-weasyprint
.PHONY: all pdf epub clean
@@ -12,14 +13,14 @@ pdf:
--metadata author="$(AUTHOR)" \
--pdf-engine=weasyprint \
--css=style.css \
-o buch.pdf
-o $(FILENAME).pdf
epub:
$(DOCKER_CMD) akt*/*.md \
--metadata title="$(TITLE)" \
--metadata author="$(AUTHOR)" \
--css=style.css \
-o buch.epub
-o $(FILENAME).epub
clean:
rm -f buch.pdf buch.epub
rm -f $(FILENAME).pdf $(FILENAME).epub