first_rule: all
-all: tex web html dvipdf
+all: tex web dvipdf mini-clean
.SUFFIXES: .tex .html
.PHONY:
-latex -interaction=batchmode ${DOC}.tex
makeindex ${DOC}.idx >/dev/null 2>/dev/null
-latex -interaction=batchmode ${DOC}.tex
- @rm -f *.eps *.old
pdf:
@echo "Making ${DOC} pdf"
dvipdf:
@echo "Making ${DOC} pdfm"
@cp -fp ${IMAGES}/hires/*.eps .
- dvipdfm -p a4 ${DOC}.dvi
- @rm -f *.eps *.old
+ dvipdfm -p a4 ${DOC}.dvi >tex.out 2>&1
html:
@echo "Making ${DOC} html"
./translate_images.pl --from_meaningful_names ${DOC}.html; \
fi)
latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
- ${DOC} >/dev/null
+ ${DOC} >tex.out 2>&1
./translate_images.pl --to_meaningful_names ${DOC}.html
@rm -f *.eps *.gif *.jpg *.old
fi)
@rm -rf ${DOC}/*.html
latex2html -split 4 -local_icons -t "Developer's Guide" -long_titles 4 \
- -contents_in_nav -toc_stars -white -notransparent ${DOC} >/dev/null
+ -contents_in_nav -toc_stars -white -notransparent ${DOC} >tex.out 2>&1
./translate_images.pl --to_meaningful_names ${DOC}/Developer*Guide.html
- @cp -f ${DOC}/${DOC}_Guide.html ${DOC}/index.html
+ @cp -f ${DOC}/Developers_Guide.html ${DOC}/index.html
@rm -f *.eps *.gif *.jpg ${DOC}/*.eps *.old
@rm -f ${DOC}/idle.png
@rm -f ${DOC}/win32-*.png ${DOC}/wx-console*.png ${DOC}/xp-*.png
main_configs:
pic2graph -density 100 <main_configs.pic >main_configs.png
+mini-clean:
+ @rm -f 1 2 3 *.tex~
+ @rm -f *.gif *.jpg *.eps
+ @rm -f *.aux *.cp *.fn *.ky *.log *.pg
+ @rm -f *.backup *.ilg *.lof *.lot
+ @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
+ @rm -f *.dnd *.old *.out
+ @rm -f ${DOC}/*.gif ${DOC}/*.jpg ${DOC}/*.eps
+ @rm -f ${DOC}/*.aux ${DOC}/*.cp ${DOC}/*.fn ${DOC}/*.ky ${DOC}/*.log ${DOC}/*.pg
+ @rm -f ${DOC}/*.backup ${DOC}/*.ilg ${DOC}/*.lof ${DOC}/*.lot
+ @rm -f ${DOC}/*.cdx ${DOC}/*.cnd ${DOC}/*.ddx ${DOC}/*.ddn ${DOC}/*.fdx ${DOC}/*.fnd ${DOC}/*.ind ${DOC}/*.sdx ${DOC}/*.snd
+ @rm -f ${DOC}/*.dnd ${DOC}/*.old ${DOC}/*.out
+ @rm -f ${DOC}/WARNINGS
+
clean:
@rm -f 1 2 3
@rm -f *.png *.gif *.jpg *.eps