summaryrefslogtreecommitdiff
path: root/20-implementierungsheft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '20-implementierungsheft/Makefile')
-rw-r--r--20-implementierungsheft/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/20-implementierungsheft/Makefile b/20-implementierungsheft/Makefile
new file mode 100644
index 0000000..335b123
--- /dev/null
+++ b/20-implementierungsheft/Makefile
@@ -0,0 +1,18 @@
+MAIN = implementierungsheft
+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
+