-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (23 loc) · 810 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (23 loc) · 810 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
SHELL := /bin/bash
BIB_PROG := bibtex
# export TEXINPUTS := ~/texmf/achemso:$TEXINPUTS
SOURCES = Makefile *.tex references.bib figs-and-tables/*
CVTEXNAME = flex-ddG
all: $(CVTEXNAME).pdf
$(CVTEXNAME).pdf: suppinfo.pdf $(CVTEXNAME).tex $(SOURCES)
pdflatex --shell-escape $(CVTEXNAME)
-$(BIB_PROG) $(CVTEXNAME)
pdflatex --shell-escape $(CVTEXNAME)
pdflatex --shell-escape $(CVTEXNAME)
pdflatex --shell-escape suppinfo
pdflatex --shell-escape suppinfo
pdflatex --shell-escape suppinfo
suppinfo.pdf: figs-and-tables/* suppinfo.tex
pdflatex --shell-escape suppinfo
-$(BIB_PROG) suppinfo
pdflatex --shell-escape suppinfo
pdflatex --shell-escape suppinfo
clean:
grep -vE '^(#|$$)' .gitignore | xargs rm -rf
diff:
git-latexdiff --main flex-ddG.tex --latexopt --shell-escape --encoding=ascii -b HEAD~1