projects
/
public
/
csc-propaganda.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated posters yay
[public/csc-propaganda.git]
/
Makefile
1
TEX := $(wildcard *.tex)
2
DVI := $(TEX:.tex=.dvi)
3
PS := $(DVI:.dvi=.ps)
4
PDF := $(TEX:.tex=.pdf)
5
6
.PHONY: all clean none ps pdf dvi
7
8
ps: $(PS)
9
10
pdf: $(PDF)
11
12
all: ps pdf
13
14
clean:
15
rm -f $(DVI) $(PS) $(PDF) *.aux *.log
16
17
%.dvi: %.tex
18
latex $<
19
20
%.ps: %.dvi
21
dvips -t letter -o $@ $<
22
23
%.pdf: %.tex
24
pdflatex $<
25
26
%.pdf: %.ps
27
ps2pdf -sPAPERSIZE=letter $<