summaryrefslogtreecommitdiff
path: root/10-entwurfsheft/Makefile
diff options
context:
space:
mode:
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
+