diff options
author | Nao Pross <naopross@thearcway.org> | 2019-12-22 15:10:00 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2019-12-22 15:10:00 +0100 |
commit | 25ad1fc0fe3c468c86cf4fc492b82b0bd5d021e1 (patch) | |
tree | 2452324f53ce6c053621cc500e8602444cdb53a2 /makefile | |
download | Ph1Mech-25ad1fc0fe3c468c86cf4fc492b82b0bd5d021e1.tar.gz Ph1Mech-25ad1fc0fe3c468c86cf4fc492b82b0bd5d021e1.zip |
First commit
Diffstat (limited to '')
-rw-r--r-- | makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..cc3c890 --- /dev/null +++ b/makefile @@ -0,0 +1,17 @@ +# Builds various pages + +OUTDIR := build +SOURCES := $(wildcard ./*.tex) +PAGES := $(patsubst %.tex, $(OUTDIR)/%.pdf, $(SOURCES)) + +TEX := xelatex +TEXARGS := --output-directory $(OUTDIR) --interaction=batchmode --8bit + + +all: $(PAGES) + +$(OUTDIR): + mkdir $@ + +$(OUTDIR)/%.pdf: %.tex $(OUTDIR) + $(TEX) $(TEXARGS) $< |