5 export TEXINPUTS=.:$(R):
9 %.dvi: %.tex $(R)/lecnotes.tex $(R)/mjmac.tex
13 dvips -D600 -o $@ -O-15.4mm,-15.4mm -t a5 $<
16 # dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $<
22 pspdftool 'book nup(2, paper=a4)' $< $@
25 pspdftool 'nup(2, paper=a4)' $< $@
28 # 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/' >$@
31 # 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/' >$@
39 rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg
42 rm -f *.ps *.pdf *.stamp
48 scp -C $P.pdf $P.stamp jabberwock:www/$(UPDIR)/
49 ssh jabberwock 'cd www && make'
54 .PHONY: force upload clean mostlyclean