diff options
Diffstat (limited to 'info/lshort/polish/src/Makefile')
-rw-r--r-- | info/lshort/polish/src/Makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/info/lshort/polish/src/Makefile b/info/lshort/polish/src/Makefile new file mode 100644 index 0000000000..f7ca05ade3 --- /dev/null +++ b/info/lshort/polish/src/Makefile @@ -0,0 +1,63 @@ +# -- make -- +# Tomasz Przechlewski <t.przechlewski@gust.org.pl>. +# Copyright 2006. Można rozpowszechniać na licencji GNU. +# +llatex=platex lshort2e.tex +# http://www.ia.pw.edu.pl/~wujek/tex/idx/plmindex.zip +lindex=plmindex lshort2e +pltex=pdfplatex lshort2e.tex +files=biblio.tex contrib.tex custom.tex graphic.tex math.tex\ + overview.tex spec.tex things.tex title.tex typeset.tex +A5odd=lshort2e-a51 +A5even=lshort2e-a52 + +help: + @echo 'Makefile [ps | pdf | 1ps | 1pdf | clean | xclean ]' + @echo ' gdzie: ps = Zamień na PS w formacie A5; 1ps = Zamień na PS;' + @echo ' pdf = Zamień na PDF używając pdftexa; 1pdf = Zamień na PDF;' + @echo ' clean lub xclean = usuń pliki tymczasowe' + +## Zamień na PS: +1ps: + $(llatex) && $(llatex) && dvips -x800 -olshort2e.ps lshort2e.dvi + +## Zamień na plik PostScriptowy do wydruku w formacie broszury A5 +ps: + $(llatex) && $(llatex) && $(lindex) && $(llatex) && \ + $(llatex) && dvips -x800 -olshort2e.ps lshort2e.dvi && \ + psbook lshort2e.ps out.ps && \ + pstops "4:0L(27.8cm,-1.8cm)+1L(27.8cm,13.9cm)" out.ps $(A5odd).ps && \ + pstops "4:2L(27.8cm,-1.8cm)+3L(27.8cm,13.9cm)" out.ps $(A5even).ps && \ + ps2pdf -sPAPERSIZE=a4 $(A5odd).ps && ps2pdf -sPAPERSIZE=a4 $(A5even).ps + #rm -rf $(A5odd).ps $(A5even).ps + +## Zamień na PDF: +1pdf: + $(pltex) + +## Zamień na dokument w formacie PDF za pomocą programu pdftex: +pdf: + $(pltex) && $(pltex) && $(lindex) && $(pltex) && \ + mv lshort2e.out lshort2e.rep && \ + awk -f ./repbkmrs.awk lshort2e.rep > lshort2e.out && \ + $(pltex) + +## Usuń pliki tymczasowe: +clean: + rm -rf lshort2e.{dvi,log,idx,exa,rep,toc,lof,ilg,lot,out,ind} out.ps a5-p*.ps *.aux *~ *.bak + +xclean: clean + rm -rf missfont.log lshort2e.{pdf,ps} + +## Podaj wielkość książki w znakach: +size: + wc --chars $(files) + +draft: 1ps + +## ;;;; + +checkurls: + grep '\(\\CTAN\|\\url\)' *.tex + +## -- koniec -- |