forked from bigcompany/know-your-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (28 loc) · 1009 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
all: pdfs
pdfs: headers.pdf methods.pdf status-codes.pdf
pngs: headers.png methods.png status-codes.png
clean:
rm -f *.aux
rm -f *.log
rm -f *.nav
rm -f *.out
rm -f headers.pdf
rm -f methods.pdf
rm -f status-codes.pdf
rm -f *.snm
rm -f *.toc
headers.pdf:
pdflatex -shell-escape -interaction=nonstopmode -halt-on-error headers.tex
pdflatex -shell-escape -interaction=nonstopmode -halt-on-error headers.tex
methods.pdf:
pdflatex -shell-escape -interaction=nonstopmode -halt-on-error methods.tex
pdflatex -shell-escape -interaction=nonstopmode -halt-on-error methods.tex
status-codes.pdf:
pdflatex -shell-escape -interaction=nonstopmode -halt-on-error status-codes.tex
pdflatex -shell-escape -interaction=nonstopmode -halt-on-error status-codes.tex
headers.png: headers.pdf
convert headers.pdf -resize 20208x headers.png
methods.png: methods.pdf
convert methods.pdf -resize 20208x methods.png
status-codes.png: status-codes.pdf
convert status-codes.pdf -resize 20208x status-codes.png