WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex
first_rule: all
-all: tex web dvipdf mini-clean
+all: tex pdflatex mini-clean
.SUFFIXES: .tex .html
.PHONY:
@echo "Done."
commonfiles:
+ @../../update_version
+ @echo "Making version `cat version.tex`"
@echo -n "Linking shared files..."
@(for L in $(LICENCES); do ln -sf $$L .; done)
@echo "Done"
-tex: epscovers epsimages
- @../../update_version
- @echo "Making version `cat version.tex`"
-# @cp -fp ${IMAGES}/hires/*.eps .
+tex: epscovers epsimages commonfiles
@ln -sf $(TEXCOMPILERFILE) $(BSYSCOMPILERFILE)
@touch ${DOC}i-dir.tex ${DOC}i-fd.tex ${DOC}i-sd.tex \
${DOC}i-console.tex ${DOC}i-general.tex
makeindex ${DOC}.cdx -o ${DOC}.cnd >/dev/null 2>/dev/null
latex -interaction=batchmode ${DOC}.tex
-pdf:
- @echo "Making pdfm"
- @cp -fp ${IMAGES}/hires/*.eps .
- dvipdfm -p a4 ${DOC}.dvi
-
pdflatex: pdfcovers pdfimages commonfiles
@ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE)
pdflatex -interaction=batchmode ${DOC}.tex
pdflatex -interaction=batchmode ${DOC}.tex
pdflatex -interaction=batchmode ${DOC}.tex
-dvipdf:
- @echo "Making dvi to pdf"
- @cp -fp ${IMAGES}/hires/*.eps .
- dvipdf ${DOC}.dvi ${DOC}.pdf
-
html:
@echo " "
@echo "Making html"
pic2graph -density 100 <main_configs.pic >main_configs.png
mini-clean:
+ @rm ${DOC}.mtc*
@rm -f 1 2 3 *.tex~
@rm -f *.gif *.jpg *.eps
@rm -f *.aux *.cp *.fn *.ky *.log *.pg
clean:
+ @rm ${DOC}.mtc*
+ @find . -type l -name "*.tex" -exec rm {} \;
@rm -f 1 2 3 *.tex~
@rm -f *.png *.gif *.jpg *.eps
@rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg