summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-12-15 00:31:41 +0100
committerNao Pross <np@0hm.ch>2021-12-15 00:31:41 +0100
commit7fcf41e1c65a628f5a337a6aed54eee0266d5b24 (patch)
tree5a650192690ec8cdb564ac660b544cf162c4f57c /makefile
downloadTheCrownBar-7fcf41e1c65a628f5a337a6aed54eee0266d5b24.tar.gz
TheCrownBar-7fcf41e1c65a628f5a337a6aed54eee0266d5b24.zip
Copy stuff from word
Diffstat (limited to '')
-rw-r--r--makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..168dbc9
--- /dev/null
+++ b/makefile
@@ -0,0 +1,18 @@
+TEX := xelatex
+TEXARGS := --output-directory=build --halt-on-error
+
+DOCNAME := the_crown_bar
+SOURCES := $(DOCNAME).tex tex/docstyle.sty
+
+# 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) $<