summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-05-21 14:32:55 +0200
committerNao Pross <np@0hm.ch>2021-05-21 14:32:55 +0200
commitddaef5f42d4f32207e1fcb270ede25ce57f3876a (patch)
treed0deea2ee331b64e6a372e22706a0ae100dc0fb8 /Makefile
downloadTKI-doku-ddaef5f42d4f32207e1fcb270ede25ce57f3876a.tar.gz
TKI-doku-ddaef5f42d4f32207e1fcb270ede25ce57f3876a.zip
First commit
Diffstat (limited to '')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f864963
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+TEX := xelatex
+TEXARGS := --output-directory=build --halt-on-error
+
+DOCNAME := CLYN-Mobility
+SOURCES := $(DOCNAME).tex
+
+include tex/Makefile.inc
+
+.PHONY: clean
+all: build/$(DOCNAME).pdf
+
+clean:
+ @rm -rfv build
+
+build/$(DOCNAME).pdf : $(SOURCES)
+ mkdir -p build
+ $(TEX) $(TEXARGS) $<
+ $(TEX) $(TEXARGS) $<
+