]> mj.ucw.cz Git - ads2.git/blobdiff - Makerules
Korektury toku.
[ads2.git] / Makerules
index e3910b9308fda9bfdb9bed85f3241f88701e430d..cf70fe3978b1be9cb891a827b707335a1f7f4190 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1,18 +1,18 @@
 export TEXINPUTS=.:..:
 
-all: $P.ps
+all: $P.pdf
 
 %.dvi: %.tex ../lecnotes.tex ../mjmac.tex
        csplain $<
 
-#%.pdf: %.tex ../lecnotes.tex ../mjmac.tex
-#      pdfcsplain $<
-
 %.ps: %.dvi
        dvips -D600 -o $@ -O-15.4mm,-15.4mm -t a5 $<
 
-%.pdf: %.dvi
-       dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $<
+#%.pdf: %.dvi
+#      dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $<
+
+%.pdf: %.ps
+       ps2pdf13 $< $@
 
 %-booklet.ps: %.ps
        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/' >$@
@@ -28,8 +28,8 @@ clean:: mostlyclean
 
 ifndef CUSTOM_UPLOAD
 upload::
-       make $P-booklet.ps
-       scp -C $P-booklet.ps jabberwock:www/vyuka/0708/ads2/$P-booklet.ps
+       make $P.pdf
+       scp -C $P.pdf jabberwock:www/vyuka/0910/ads2/$P.pdf
 endif
 
 .SECONDARY: