5 %.pdf: %.tex ../sgr.tex ../ga.bib
6 pdfcsplain $< && if grep -q citation $*.aux ; then bibtex $* && pdfcsplain $< && pdfcsplain $< ; fi
8 %-2in1.pdf: %-uncompressed.pdf
9 pspdftool 'nup(2, paper=a4)' $< $@
11 %-booklet.pdf: %-uncompressed.pdf
12 pspdftool 'book nup(2, paper=a4)' $< $@
14 %-uncompressed.pdf: %.pdf
15 qpdf --object-streams=disable --stream-data=uncompress $< $@
18 rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.toc
26 scp -C $P.pdf jabberwock:www/static/vyuka/ga/
27 ssh jabberwock 'cd web && make'