-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (42 loc) · 1.35 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
FILENAME=poster-main
DIR=paper-teaching
# .PHONY: $(FILENAME).pdf
all: $(FILENAME).pdf
# MAIN LATEXMK RULE
$(FILENAME).pdf: $(FILENAME).tex
latexmk -quiet -bibtex $(PREVIEW_CONTINUOUSLY) -f -pdf -pdflatex="pdflatex -synctex=1 -interaction=nonstopmode" -use-make $(FILENAME).tex
.PRECIOUS: %.pdf
.PHONY: watch
watch: PREVIEW_CONTINUOUSLY=-pvc
watch: $(FILENAME).pdf
.PHONY: clean
clean:
latexmk -C -bibtex
rm -rf $(FILENAME).spl
rm -f *_bibertool.bib
rm -f *.ttt
rm -f *.blg
regular:
pdflatex $(FILENAME)
bibtex $(FILENAME)
pdflatex $(FILENAME)
pdflatex $(FILENAME)
biber:
@echo
biber -V --tool cloud-scheduling.bib | fgrep -v INFO
@echo
biber -V --tool cloud-scheduling_bibertool.bib | fgrep -v INFO
@echo
biber -V --tool strings.bib | fgrep -v INFO
@echo
biber -V --tool vonlaszewski.bib | fgrep -v INFO
@make -f Makefile clean
zip: clean
cd ..; zip -x "*/.DS*" "*/*.git*" "*/*bin*" "*/*zip" "*/*.md" "*/Makefile" -r $(DIR)/$(FILENAME).zip $(DIR)
flatzip: clean
zip -x "*.git*" "*bin*" "*zip" "*.md" "Makefile" -r $(FILENAME).zip .
publish:
cp $(FILENAME).pdf ../../../laszewski/laszewski.github.io/papers/
cd ../../../laszewski/laszewski.github.io/papers; git add $(FILENAME).pdf
cd ../../../laszewski/laszewski.github.io/papers; git commit -m "update $(FILENAME)" $(FILENAME).pdf
cd ../../../laszewski/laszewski.github.io/papers; git push