-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
39 lines (29 loc) · 792 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
28
29
30
31
32
33
34
35
36
37
38
39
# Put user-specific changes in your own Makefile.user.
# Make will silently continue if that file does not exist.
-include Makefile.user
TARGET = paper
STYFILES = $(wildcard *.sty)
PSTOPDF ?= pstopdf
.SUFFIXES: .plot .eps .pdf
pdf: $(TARGET).pdf
$(TARGET).pdf: ${PDF_FIGURES} $(TARGET).bbl $(wildcard *.tex) $(STYFILES)
pdflatex $(TARGET).tex
pdflatex $(TARGET).tex
$(TARGET).aux: $(TARGET).tex $(wildcard *.tex)
pdflatex $(TARGET)
$(TARGET).bbl: $(TARGET).bib $(TARGET).aux
pdflatex $(TARGET).tex
bibtex $(TARGET)
tags: TAGS
.PHONY: tags TAGS
TAGS:
etags `latex-process-inputs --list paper.tex`
clean:
rm -f $(TARGET).pdf
rm -f $(TARGET).log
rm -f $(TARGET).blg
rm -f $(TARGET).aux
rm -f $(TARGET).bbl
rm -f $(TARGET).dvi
rm -f $(TARGET).out
rm -f $(TARGET).toc