summaryrefslogtreecommitdiffstats
path: root/german/makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-11-04 17:55:29 +0100
committerNao Pross <naopross@thearcway.org>2017-11-04 18:00:33 +0100
commit1c42a6cc2aa8347e724ff0898717b4086ac921ab (patch)
tree4aa04da6eb732906aa1616ef588c6a7909a4568c /german/makefile
parentRecompile techwsw with fixed typos (diff)
downloadEssence-1c42a6cc2aa8347e724ff0898717b4086ac921ab.tar.gz
Essence-1c42a6cc2aa8347e724ff0898717b4086ac921ab.zip
Add german grammar essence and start verb list
Diffstat (limited to 'german/makefile')
-rw-r--r--german/makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/german/makefile b/german/makefile
new file mode 100644
index 0000000..9b307ce
--- /dev/null
+++ b/german/makefile
@@ -0,0 +1,23 @@
+# file settings
+BUILD_DIR := build
+DOCUMENT := essence_of_german.tex
+
+# tex settings
+TEX := xelatex \
+ -interaction=nonstopmode \
+ -halt-on-error \
+ -output-directory=$(BUILD_DIR)
+
+# automated stuff
+_DOCUMENT := $(BUILD_DIR)/$(DOCUMENT)
+_DOCUMENT_SRC := $(patsubst %.pdf,%.tex,$(DOCUMENT))
+
+# recipes
+.PHONY: build_dir
+all: $(_DOCUMENT)
+
+$(_DOCUMENT): $(_DOCUMENT_SRC) build_dir
+ $(TEX) $<
+
+build_dir:
+ mkdir -p $(BUILD_DIR)/tex