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
ps2pdf14 bierbook.ps
bierbook.ps: bierbook.tex names.txt grid.sty bb.cls
latex --shell-escapes bierbook.tex
bierbook.ps: bierbook.dvi
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
ps2pdf14 seshbook.ps
seshbook.ps: seshbook.tex bb.cls
latex --shell-escapes seshbook.tex
clean:
rm -f {bier,sesh}book.pdf \
{bier,sesh}book.ps \
{bier,sesh}book.log \
{bier,sesh}book.dvi \
{bier,sesh}book.toc
seshbook.ps: seshbook.dvi
dvips seshbook.dvi
#2005-vintage runes
#bierbook.ps: bierbook.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
seshbook.dvi: seshbook.tex bb.cls
latex --shell-escape seshbook.tex
#seshbook3.ps: seshbook.tex
# latex seshbook.tex
# dvips seshbook.dvi -T 148mm,210mm -o
# ps2pdf seshbook.ps
# psresize -Pa5 -pa4 seshbook.ps >seshbook1.ps
# psbook seshbook1.ps >seshbook2.ps
# psnup -la4 -2 seshbook2.ps >seshbook3.ps
cleanbier:
rm -f bierbook.pdf
rm -f bierbook.ps
rm -f bierbook.log
rm -f bierbook.dvi
rm -f bierbook.toc
rm -f bierbook.toc
rm -f bierbook.aux
rm -f missfont.log
# Then print using:
# lpr -Pelder -tumble bierbook3.ps
cleansesh:
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:
pstricks
ghostscript
latex
texlive-bin
texlive-fonts-extra (for ygoth)