-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 727 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (22 loc) · 727 Bytes
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
28
29
30
31
CC = pdflatex
BCC = bibtex
FLAGS = -shell-escape
WHITE = $(cat main.tex | sed 's/\\pagecolor{base03}/%/g')
DATE= $(shell date +'%Y-%m-%d')
Color: Main.tex
${CC} ${FLAGS} -jobname=Colored Main.tex;
bibtex Colored;
${CC} ${FLAGS} -jobname=Colored Main.tex;
${CC} ${FLAGS} -jobname=Colored Main.tex;
White: whitetex
${CC} ${FLAGS} -jobname=White whitetex
bibtex White;
${CC} ${FLAGS} -jobname=White whitetex;
${CC} ${FLAGS} -jobname=White whitetex;
whitetex: Main.tex
sed 's/\\pagecolor{base03}/%/g' $< >$@;
bibtex:
${BCC} biblio
clean:
rm -f *gz *blx* *.bcf *.xml *bak *.out *.log *.aux *.lot *.toc *.bbl *.blg *mk *fls *lof
all: Color White