X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makerules;h=e3910b9308fda9bfdb9bed85f3241f88701e430d;hb=b29d449af56e8c91305b63d964f67ecbda1b26d3;hp=01e71faa89598dcefbff35620828e5bd02886c8d;hpb=81383c3b1ab213e35aaaf31e18368dde88b75656;p=ads2.git diff --git a/Makerules b/Makerules index 01e71fa..e3910b9 100644 --- a/Makerules +++ b/Makerules @@ -15,10 +15,10 @@ all: $P.ps dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $< %-booklet.ps: %.ps - psbook <$< | pstops '2:0L(210mm,0)+1L(210mm,148mm)' | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@ + 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/' >$@ %-2in1.ps: %.ps - pstops '2:0L(210mm,0mm)+1L(210mm,148mm)' <$< | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@ + 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/' >$@ mostlyclean: rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg @@ -29,7 +29,7 @@ clean:: mostlyclean ifndef CUSTOM_UPLOAD upload:: make $P-booklet.ps - scp -C $P-booklet.ps jabberwock:www/vyuka/0607/ads1/$P-booklet.ps + scp -C $P-booklet.ps jabberwock:www/vyuka/0708/ads2/$P-booklet.ps endif .SECONDARY: