-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
27 lines (20 loc) · 800 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
LATEXMK=latexmk
MAIN=watoc2020poster
TEXSOURCES:=$(MAIN).tex $(wildcard */*.tex)
TIKZSOURCES:=$(shell find -name "*.tikz.tex")
PLOTSOURCES:=$(shell find -name "*.csv")
IMAGESOURCES:=$(shell find -name "*.eps")
SOURCES=$(TEXSOURCES) $(TIKZSOURCES) $(PLOTSOURCES) $(IMAGESOURCES) Makefile
all: $(SOURCES) tikzex
cleanaux:
$(LATEXMK) -C $(MAIN)
rm -f $(MAIN).pdfsync
rm -rf *~ *.tmp
rm -f *.bbl *.blg *.aux *.auxlock *.end *.fls *.log *.out *.fdb_latexmk *.synctex.gz *.nav *.run.xml *.snm *.glignoredin *.glo-abr *.ist *.slo
cleantikzoutput:
rm -f tikz/tikzoutput/*
cleanall: cleanaux cleantikzoutput
tikzex:
$(LATEXMK) -quiet -lualatex \
-pdflualatex="lualatex --shell-escape --synctex=1 --interaction=nonstopmode %O %S" $(MAIN).tex
.PHONY: all cleanaux cleantikzoutput cleanall tikzex