-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (33 loc) · 854 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
41
42
43
44
REPORT=paper
LATEX=pdflatex
BIBTEX=bibtex --min-crossrefs=1000
REF1=ref
REF2=rfc
TEX = $(wildcard *.tex)
CLS = $(wildcard *.cls)
SRCS = $(TEX)
REFS=$(REF1).bib $(REF2).bib
all: pdf
$(REPORT).pdf: $(SRCS) $(CLS)
$(LATEX) $(REPORT)
# $(BIBTEX) $(REPORT)
# perl -pi -e "s/%\s+//" $(REPORT).bbl
$(LATEX) $(REPORT)
$(LATEX) $(REPORT)
$(REPORT).ps: $(REPORT).dvi figures
# dvips -Pcmz -t letter $(REPORT).dvi -o $(REPORT).ps
dvips -Ppdf -G0 -t letter $(REPORT).dvi -o $(REPORT).ps
web: pdf
scp -C $(REPORT).pdf [email protected]:www/
view: $(REPORT).dvi
xdvi $(REPORT).dvi
print: $(REPORT).dvi
dvips $(REPORT).dvi
pdf: $(REPORT).pdf
# ps2pdf14 $< $(REPORT).pdf
printer: $(REPORT).ps
lpr $(REPORT).ps
tidy:
rm -f *.dvi *.aux *.log *.blg *.bbl
clean:
rm -f *~ *.dvi *.aux *.log *.blg *.bbl *.brf *.out $(REPORT).ps $(REPORT).pdf