diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c1de437 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +TEXFLAGS ?= -halt-on-error -output-format pdf -output-directory output --shell-escape +TITLE = graphics + +.PHONY: all clean + +all: output/$(TITLE).pdf + +output: + mkdir output + +output/$(TITLE).pdf: $(TITLE).tex img/Mesa_layers_of_crap_2016.svg output + pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}' + pdflatex $(TEXFLAGS) '\providecommand\locale{en}\input{$(TITLE).tex}' + +clean: + rm -rf output svg-inkscape |