first_rule: all
-all: tex web dvipdf mini-clean
+all: tex web pdf mini-clean
.SUFFIXES: .tex .html
.PHONY:
fi)
latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
${DOC} >tex.out 2>&1
- ./translate_images.pl --to_meaningful_names ${DOC}.html
+ @(if [ -f imagename_translations ] ; then \
+ ./translate_images.pl --from_meaningful_names ${DOC}.html; \
+ fi)
+ (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done)
@rm -f *.eps *.gif *.jpg *.old
web:
@echo "Making ${DOC} web"
+ @rm -rf ${DOC}
@mkdir -p ${DOC}
@rm -f ${DOC}/*
@cp -fp ${IMAGES}/*.eps .
@rm -f next.eps next.png prev.eps prev.png up.eps up.png
- @cp -fp ${IMAGES}/*.eps ${IMAGES}/*.png ${DOC}/
- @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png
@(if [ -f ${DOC}/imagename_translations ] ; then \
./translate_images.pl --to_meaningful_names ${DOC}/Developer*Guide.html; \
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} >tex.out 2>&1
- ./translate_images.pl --to_meaningful_names ${DOC}/Developer*Guide.html
- @cp -f ${DOC}/Developer_s_Guide.html ${DOC}/index.html
+ -toc_stars -contents_in_nav -init_file latex2html-init.pl \
+ -no_antialias -no_antialias_text \
+ -white -notransparent ${DOC} >tex.out 2>&1
+ @(if [ -f imagename_translations ] ; then \
+ ./translate_images.pl --from_meaningful_names ${DOC}.html; \
+ fi)
+ @cp -f ${DOC}/Bacula_Developer_Notes.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