summaryrefslogtreecommitdiff
blob: ce1f204909eff12c49f64793200911d42a5d0265 (plain)
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
45
46
47
default: decisions.pdf

.SUFFIXES:

.PHONY: onlineupdate upload

%.aux: %.tex
	pdflatex decisions.tex

decisions.ind: *.aux *.tex
	makeindex decisions

decisions.idx: *.aux *.tex
	makeindex decisions

decisions.pdf: *.aux decisions.idx *.tex decisions.ind
	pdflatex decisions

#decisions.html: decisions.pdf
#	pdf2htmlEX --optimize-text 2 --decompose-ligature 1 --zoom 1.6 decisions.pdf

onlineupdate: decisions.bug decisions.mld decisions.glg decisions.deg

decisions.bug: decisions.bur
	./makebugs

decisions.mld: decisions.mlr
	./makemails

decisions.glg: decisions.glr
	./makegleps

decisions.deg: decisions.der decisions.ded
	./makedevs

upload: onlineupdate decisions.pdf
	scp decisions.pdf dev.gentoo.org:~/public_html/
#	scp decisions.html dev.gentoo.org:~/public_html/

summary-%.texs : summary-%.tex
	echo "\\documentclass{councilsummary}\\begin{document}\\input{$<}\\end{document}" > $@

summary-%.pdf : summary-%.texs
	pdflatex -jobname $(basename $< .texs) $<

summary-%.html : summary-%.texs
	mk4ht xhlatex $< "xhtml,fn-in -jobname $(basename $< .texs)"