5 %.dvi: %.tex ../lecnotes.tex ../mjmac.tex
8 #%.pdf: %.tex ../lecnotes.tex ../mjmac.tex
12 dvips -D600 -o $@ -O-15.4mm,-15.4mm -t a5 $<
15 dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $<
18 psbook <$< | pstops '2:0L(210mm,0)+1L(210mm,148mm)' | ../utils/pstopsfix | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@
21 pstops '2:0L(210mm,0mm)+1L(210mm,148mm)' <$< | ../utils/pstopsfix | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@
24 rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg
32 scp -C $P-booklet.ps jabberwock:www/vyuka/0708/ads2/$P-booklet.ps