]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manual/Makefile.in
Update
[bacula/docs] / docs / manual / Makefile.in
index f37f6d3ce67d52bedc001eecbf6ed561dad8592b..6648329a9dd5b294bb5849a987801a8751748243 100644 (file)
 #
 #    make
 #
+# for rapid development do:
+#    make tex
+#    make show
+#
+#
+# If you are having problems getting "make" to work, debugging it is
+#  easier if can see the output from latex, which is normally redirected
+#  to /dev/null.  To see it, do the following:
+#
+#   cd docs/manual
+#   make tex
+#   latex bacula.tex
+#
+#  typically the latex command will stop indicating the error (e.g. a
+#  missing \ in front of a _ or a missing { or ] ...
+#
+#  The following characters must be preceded by a backslash
+#    to be entered as printable characters:
+# 
+#    # $ % & ~ _ ^ \ { }
+#
 
 IMAGES=../images
 
 first_rule: bacula
 
-bacula: tex web html dvipdf
+bacula: tex web dvipdf mini-clean
 
 .SUFFIXES:     .tex .html
 .PHONY:
@@ -30,30 +51,26 @@ tex:
        @cp -fp ${IMAGES}/hires/*.eps .
        @touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \
             baculai-console.tex baculai-general.tex
-       -latex -interaction=batchmode bacula.tex
+       latex -interaction=batchmode bacula.tex
        makeindex bacula.idx -o bacula.ind 2>/dev/null
        makeindex bacula.ddx -o bacula.dnd >/dev/null 2>/dev/null
        makeindex bacula.fdx -o bacula.fnd >/dev/null 2>/dev/null
        makeindex bacula.sdx -o bacula.snd >/dev/null 2>/dev/null
        makeindex bacula.cdx -o bacula.cnd >/dev/null 2>/dev/null
-       -latex -interaction=batchmode bacula.tex
-       @rm -f *.eps *.old
+       latex -interaction=batchmode bacula.tex
+       latex -interaction=batchmode bimagemgr.tex
 
 pdf:
        @echo "Making pdfm"
        @cp -fp ${IMAGES}/hires/*.eps .
        dvipdfm -p a4 bacula.dvi
-# Rename for loading on Web site
-       @cp -f bacula.pdf dev-bacula.pdf
-       @rm -f *.eps *.old
+       dvipdfm -p a4 bimagemgr.dvi
 
 dvipdf:
        @echo "Making dvi to pdf"
        @cp -fp ${IMAGES}/hires/*.eps .
        dvipdf bacula.dvi bacula.pdf
-# Rename for loading on Web site
-       @cp -f bacula.pdf dev-bacula.pdf
-       @rm -f *.eps *.old
+       dvipdf bimagemgr.dvi bimagemgr.pdf
 
 html:
        @echo " "
@@ -66,7 +83,6 @@ html:
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
                -init_file latex2html-init.pl bacula >tex.out 2>&1
        ./translate_images.pl --to_meaningful_names bacula.html
-       @rm -f *.eps *.gif *.jpg
        @echo "Done making html"
 
 web:
@@ -74,18 +90,16 @@ web:
        @mkdir -p bacula
        @cp -fp ${IMAGES}/*.eps .
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
-       @cp -fp ${IMAGES}/*.eps *.txt bacula
-       @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula
+       @cp -fp ${IMAGES}/*.eps *.txt bacula/
+       @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula/
        @rm -f bacula/xp-*.png
        @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
        @rm -rf bacula/*.html
-       latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
+       latex2html -split 3 -local_icons -t "Bacula User's Guide" -long_titles 4 \
                -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >tex.out 2>&1
        ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
-       cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html 
-       @rm -f *.eps *.gif *.jpg bacula/*.eps *.old bacula/*.old
+       -cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html 
        @echo "Done making web"
-
 show:
        xdvi bacula
 
@@ -95,18 +109,41 @@ texcheck:
 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 bacula/*.gif bacula/*.jpg bacula/*.eps
+       @rm -f bacula/*.aux bacula/*.cp bacula/*.fn bacula/*.ky bacula/*.log bacula/*.pg
+       @rm -f bacula/*.backup bacula/*.ilg bacula/*.lof bacula/*.lot
+       @rm -f bacula/*.cdx bacula/*.cnd bacula/*.ddx bacula/*.ddn bacula/*.fdx bacula/*.fnd bacula/*.ind bacula/*.sdx bacula/*.snd
+       @rm -f bacula/*.dnd bacula/*.old bacula/*.out
+       @rm -f bacula/WARNINGS
+
+
 clean:
        @rm -f 1 2 3 *.tex~
        @rm -f *.png *.gif *.jpg *.eps
        @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
-       @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot
+       @rm -f *.html *.backup *.ps *.dvi *.ilg *.lof *.lot
        @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
        @rm -f *.dnd imagename_translations
        @rm -f *.old WARNINGS *.out *.toc *.idx
-       @rm -f images.pl labels.pl internals.pl
        @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
             baculai-console.tex baculai-general.tex images.tex
 
 
-distclean:  clean
-       @rm -f bacula.html bacula.pdf dev-bacula.pdf
+distclean:
+       @rm -f 1 2 3 *.tex~
+       @rm -f *.gif *.jpg *.eps
+       @rm -f *.aux *.cp *.fn *.ky *.log *.pg
+       @rm -f  *.backup *.ps *.dvi *.ilg *.lof *.lot
+       @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
+       @rm -f *.dnd imagename_translations
+       @rm -f *.old WARNINGS *.out *.toc *.idx
+       @rm -f images.pl labels.pl internals.pl
+       @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
+            baculai-console.tex baculai-general.tex images.tex