diff options
author | Nao Pross <np@0hm.ch> | 2021-09-07 20:59:21 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-09-07 20:59:21 +0200 |
commit | 3386fa3c0c552294ebc25fbffa7a5ce41d563004 (patch) | |
tree | e6876a85d5b234c7494f6e38341f11c5ead62d99 /Makefile | |
download | WrStat-master.tar.gz WrStat-master.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6346d18 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +TEX := xelatex +TEXARGS := --output-directory=build --halt-on-error + +DOCNAME := WrStat +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) $< + |