Update makefiles so it cleans correctly.

List some (debian) packages needed to make bierbook
This commit is contained in:
Wookey 2014-07-13 17:33:03 +01:00
parent 050d30798d
commit 2012f96f16
2 changed files with 32 additions and 29 deletions

View File

@ -3,38 +3,40 @@ all: bierbook.pdf seshbook.pdf
bierbook.pdf: bierbook.ps bierbook.pdf: bierbook.ps
ps2pdf14 bierbook.ps ps2pdf14 bierbook.ps
bierbook.ps: bierbook.tex names.txt grid.sty bb.cls bierbook.ps: bierbook.dvi
latex --shell-escapes bierbook.tex dvips bierbook.dvi
bierbook.dvi: bierbook.tex names.txt grid.sty bb.cls
latex --shell-escape bierbook.tex
latex --shell-escape bierbook.tex
seshbook.pdf: seshbook.ps seshbook.pdf: seshbook.ps
ps2pdf14 seshbook.ps ps2pdf14 seshbook.ps
seshbook.ps: seshbook.tex bb.cls
latex --shell-escapes seshbook.tex
clean: seshbook.ps: seshbook.dvi
rm -f {bier,sesh}book.pdf \ dvips seshbook.dvi
{bier,sesh}book.ps \
{bier,sesh}book.log \
{bier,sesh}book.dvi \
{bier,sesh}book.toc
#2005-vintage runes seshbook.dvi: seshbook.tex bb.cls
#bierbook.ps: bierbook.tex latex --shell-escape seshbook.tex
# latex bierbook.tex
# dvips bierbook.dvi -T 148mm,210mm -o
# ps2pdf bierbook.ps
# psresize -Pa5 -pa4 bierbook.ps >bierbook1.ps
# psbook bierbook1.ps >bierbook2.ps
# psnup -la4 -2 bierbook2.ps >bierbook3.ps
#seshbook3.ps: seshbook.tex cleanbier:
# latex seshbook.tex rm -f bierbook.pdf
# dvips seshbook.dvi -T 148mm,210mm -o rm -f bierbook.ps
# ps2pdf seshbook.ps rm -f bierbook.log
# psresize -Pa5 -pa4 seshbook.ps >seshbook1.ps rm -f bierbook.dvi
# psbook seshbook1.ps >seshbook2.ps rm -f bierbook.toc
# psnup -la4 -2 seshbook2.ps >seshbook3.ps rm -f bierbook.toc
rm -f bierbook.aux
rm -f missfont.log
# Then print using: cleansesh:
# lpr -Pelder -tumble bierbook3.ps rm -f seshbook.pdf
rm -f seshbook.ps
rm -f seshbook.log
rm -f seshbook.dvi
rm -f seshbook.toc
rm -f seshbook.aux
rm -f missfont.log
clean: cleanbier cleansesh

View File

@ -16,4 +16,5 @@ ps2pdf14 seshbook.ps
packages needed (Debian) are: packages needed (Debian) are:
pstricks pstricks
ghostscript ghostscript
latex texlive-bin
texlive-fonts-extra (for ygoth)