summaryrefslogtreecommitdiff
path: root/10-entwurfsheft/Makefile
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2024-05-24 17:42:08 +0200
committerOrangerot <purple@orangerot.dev>2024-05-24 17:47:22 +0200
commit7fcdc1c788725f866de71fc9dfd8c4d1cb132b57 (patch)
tree89931c85ae3f149884ba02c69862558e93f01531 /10-entwurfsheft/Makefile
Initial commitHEADmain
Diffstat (limited to '10-entwurfsheft/Makefile')
-rw-r--r--10-entwurfsheft/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/10-entwurfsheft/Makefile b/10-entwurfsheft/Makefile
new file mode 100644
index 0000000..75a951a
--- /dev/null
+++ b/10-entwurfsheft/Makefile
@@ -0,0 +1,18 @@
+MAIN = entwurfsheft
+FLAGS = -pdf
+
+all: clean compile
+compile: diagram tex
+clean: clean-diagram clean-tex
+
+dev:
+ latexmk $(FLAGS) -pvc $(MAIN)
+tex:
+ latexmk $(FLAGS) $(MAIN)
+diagram:
+ java -jar plantuml.jar -tpdf assets/diagrams/*.puml
+clean-tex:
+ latexmk -C
+clean-diagram:
+ find assets/diagrams -type f -not -name '*.puml' -delete
+