-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
41 lines (28 loc) · 852 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
40
NAME = ssb
BIBTEX = bibtex
LATEX = latex
DVIPS = dvips -j0 -tletter -Ppdf # -p =9 -n 8
DVIPDF = dvipdf
PS2PDF = ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true
FILES = $(NAME).tex intro.tex odes.tex mak.tex singular.tex mathematica.tex in-vivo.tex in-vitro.tex composition.tex
all: ps pdf
dvi: $(NAME).dvi
ps: $(NAME).ps
pdf: $(NAME).pdf
simp: $(NAME).tex
$(LATEX) $(NAME).tex
$(NAME).aux: $(FILES) refs.bib
$(LATEX) $(NAME).tex
$(NAME).bbl: $(NAME).aux refs.bib
$(BIBTEX) $(NAME)
$(NAME).dvi: $(NAME).aux $(NAME).bbl
$(LATEX) $(NAME).tex
$(LATEX) $(NAME).tex
$(NAME).ps: $(NAME).dvi
$(DVIPS) $(NAME).dvi -o $(NAME).ps
$(NAME).pdf: $(NAME).ps
$(PS2PDF) $(NAME).ps
clean:
rm -f *.dvi *.ps *.pdf *.bbl *.blg *.log *.aux *~
cite:
$(LATEX) $(NAME).tex | grep Citation | awk '{print $$4}'