Buchtitel: Operation Sterling
This commit is contained in:
11
Makefile
11
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user