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