From: Philippe Chauvat Date: Fri, 7 Dec 2012 15:24:51 +0000 (+0100) Subject: New material to put back Web building X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5f290c7b069d100b0b77fa273d6368d77f18c8c3;p=bacula%2Fdocs New material to put back Web building --- diff --git a/docs/Makefile.in b/docs/Makefile.in index b9413e2e..558e2439 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -11,6 +11,8 @@ BACULASRC = @bacula@ basedir = .. topdir = .. thisdir = docs +toolsdir = ./tools +TRANSLATE=./htmls.sh # # Distribution variables @@ -29,7 +31,8 @@ es_dirs = manuals/es/console manuals/es/developers manuals/es/main \ fr_dirs = manuals/fr/console manuals/fr/developers manuals/fr/main \ manuals/fr/misc manuals/fr/problems manuals/fr/utility -all_dirs = ${de_dirs} ${en_dirs} ${es_dirs} ${fr_dirs} +image_dirs = images/svg +all_dirs = ${de_dirs} ${en_dirs} ${es_dirs} ${fr_dirs} ${image_dirs} DIST = Makefile.in @@ -38,26 +41,44 @@ DIST = Makefile.in en: all all: templates external-references + @echo " " + @echo "Generating PDF manuals..." @for I in ${en_dirs}; \ do (cd $$I; echo "==>Entering directory `pwd`"; \ - $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ + $(MAKE) pdflatex || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ + echo ""; echo ""; exit 1;)); \ + done + @for I in ${en_dirs}; \ + do (cd $$I; echo "==>Entering directory `pwd`"; \ + $(MAKE) web || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ echo ""; echo ""; exit 1;)); \ done + @echo " " + @echo "Creating Web documentation..." + @(cd $(toolsdir) ; $(TRANSLATE)) @echo "All manuals built ..." templates: + @echo " " @echo -n "Linking templates.." - mkdir -p ~/texmf/tex/latex/bsys/ - if [ ! -e ~/texmf/tex/latex/bsys/bsysmanual ] || [ -h ~/texmf/tex/latex/bsys/bsysmanual ]; \ + @mkdir -p ~/texmf/tex/latex/bsys/ + @if [ ! -e ~/texmf/tex/latex/bsys/bsysmanual ] || [ -h ~/texmf/tex/latex/bsys/bsysmanual ]; \ then\ ln -sf `pwd`/bsysmanual ~/texmf/tex/latex/bsys/;\ fi @echo "Done" external-references: + @echo " " @echo -n "Building external references file..." - find ${en_dirs} -mindepth 0 -maxdepth 1 -name "*tex" -exec grep -q '\label' {} \; -print| awk -F/ '{ print "\\externaldocument[" $$3 "-]{../"$$3"/"$$4"}"}'|sed -e 's/.tex//g' > `pwd`/bsysmanual/external-references.tex - @echo "Done." + @find ${en_dirs} -mindepth 0 -maxdepth 1 -name "*tex" -exec grep -q '\label' {} \; -print| awk -F/ '{ print "\\externaldocument[" $$3 "-]{../"$$3"/"$$4"}"}'|sed -e 's/.tex//g' > `pwd`/bsysmanual/external-references.tex + @for I in ${en_dirs}; \ + do (cd $$I; echo "==>Entering directory `pwd`"; \ + $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ + echo ""; echo ""; exit 1;)); \ + done + @echo "All manuals built ..." + @echo "External references for all manuals built." bacula-web: (cd bacula-web; make) diff --git a/docs/manuals/en/console/Makefile.in b/docs/manuals/en/console/Makefile.in index 01d3e250..0c962c5c 100644 --- a/docs/manuals/en/console/Makefile.in +++ b/docs/manuals/en/console/Makefile.in @@ -54,39 +54,47 @@ WWWDIR=../www-$(DOC) DOCDIR=../${DOC} TEXFILES=$(wildcard *tex) WEBFILESTOLINK=$(DOCDIR)/latex2html-init.pl $(DOCDIR)/bacula.sty $(DOCDIR)/translate_images.pl - +PDFLATEX=pdflatex +PDFLATEXOPTIONS=-interaction=batchmode +PDFOUTPUT="> $(DOC).out 2>&1" +MAKEFORWEB=$(DOCDIR)/web.makefile first_rule: all -all: tex pdflatex web mini-clean +all: pdflatex web mini-clean .SUFFIXES: .tex .html .PHONY: .DONTCARE: pdfcovers: + @echo " " @echo -n "Linking coverpage and background PDF format..." @(cd $(SVGCOVERSDIR) ; make pdf) @ln -sf `pwd`/${PDFCOVERSDIR}/${COVERNAME}.pdf `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf @echo "Done." pdfimages: - @echo "Generating PDF images..." + @echo " " + @echo "Converting SVG to PDF images..." @(cd ${IMAGES}/svg ; make pdf) @echo "Done." pngimages: - @echo "Generating PNG images..." + @echo " " + @echo "Converting SVG to PNG images..." @(cd ${IMAGES}/svg ; make png) @echo "Done." epsimages: - @echo "Generating EPS images..." + @echo " " + @echo "Converting SVG to EPS images..." @(cd ${IMAGES}/svg ; make eps) @rm -rf ${IMAGES}/png @rm -rf ${IMAGES}/pdf @echo "Done." epscovers: + @echo " " @echo -n "Linking coverpage and background EPS format..." @(cd $(SVGCOVERSDIR) ; make eps) @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps @@ -94,37 +102,37 @@ epscovers: @echo "Done." commonfiles: - @$(MANUALSDIR)/update_version + @/bin/sh $(MANUALSDIR)/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 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 - latex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - latex -interaction=batchmode ${DOC}.tex - -pdflatex: pdfcovers pdfimages commonfiles +pdflatex: external-references + @echo " " + @echo "Generating the PDF version of $(DOC)" + @makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex $(PDFOUTPUT) + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex $(PDFOUTPUT) + @echo "$(DOC).pdf generated." + +external-references: pdfcovers pdfimages commonfiles + @echo " " + @echo "Building external references for $(DOC)" @ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE) - pdflatex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - pdflatex -interaction=batchmode ${DOC}.tex - pdflatex -interaction=batchmode ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex $(PDFOUTPUT) + @echo "$(DOC) external references done." -web: clean +web: mini-clean @echo "Making web" @rm -rf $(WWWDIR) @mkdir -p $(WWWDIR) @echo -"Creating tex files..." @(for F in $(TEXFILES) ;\ do \ - cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g' > $(WWWDIR)/$$F ;\ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\ done) - @ln -sf $(DOCDIR)/Makefile.web $(WWWDIR)/Makefile + @ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile @(for F in $(WEBFILESTOLINK);\ do \ ln -sf $$F $(WWWDIR)/;\ @@ -144,7 +152,7 @@ main_configs: mini-clean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps - @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.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 @@ -172,6 +180,6 @@ clean: webclean: @rm -rf $(WWWDIR) -distclean: webclean clean +distclean: webclean clean @rm -f images.pl labels.pl internals.pl @rm -f Makefile version.tex diff --git a/docs/manuals/en/console/web.makefile b/docs/manuals/en/console/web.makefile new file mode 100644 index 00000000..7ba4a61d --- /dev/null +++ b/docs/manuals/en/console/web.makefile @@ -0,0 +1,92 @@ +# +# Makefile to be placed into to the corresponding www directory +# ../www-console +MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images +DOC=console +MAINDOC=Console_Operators_Guide.html +BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual +COVERSDIR=$(MANUALSDIR)/../covers +PDFCOVERSDIR=$(COVERSDIR)/pdf +SVGCOVERSDIR=$(COVERSDIR)/svg +EPSCOVERSDIR=$(COVERSDIR)/eps +LICENSESDIR=$(MANUALSDIR)/licences +COVERNAME=coverpage-console +BSYSMANNAME=bsysmanual-coverpagebackground +LICENCES=$(wildcard $(LICENSESDIR)/*.tex) +BSYSCOMPILERFILE=bsys-compiler-mode.tex +PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex +TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex +WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +WWWDIR=../www-$(DOC) + +.SUFFIXES: .tex .html +.PHONY: +.DONTCARE: + +first_rule: all + +all: web clean + +pngimages: + @echo "PNG images" + @echo -n "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." + @echo -n "Linking png images..." + @(for F in $(IMAGES)/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/png/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "PNG done." + +epsimages: + @echo "EPS images" + @echo -n "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @echo "Done." + @echo -n "Linking eps images..." + @(for F in $(IMAGES)/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/eps/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "EPS done." + +clean: + @echo -n "Cleaning..." + @find . -type l -iname "*.eps" -exec rm {} \; + @find . -type l -iname "*.png" -exec rm {} \; + @echo "Done." + +commonfiles: + @(for F in $(LICENCES) ;\ + do \ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/Aenumerate/enumerate/g;s/\\raisebox{0.1ex}{\\textsuperscript\\textregistered}/\\textregistered/g;s/\[0.3\\linewidth\]/\[5cm\]/g;s/bsysitemize/itemize/g' > ./`basename $$F` ;\ + done) + cp $(MANUALSDIR)/bsys-web-mode.tex ./bsys-compiler-mode.tex + @echo "Done" + +web: commonfiles epsimages pngimages + @echo "Making web" + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @rm -f ${DOC}/xp-*.png + @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png + latex2html -split 3 -local_icons -t "Console and Operators Guide" -long_titles 4 \ + -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 $(MAINDOC).html; \ + fi) + @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html + @echo "Done making web" diff --git a/docs/manuals/en/css/bsys.css b/docs/manuals/en/css/bsys.css new file mode 100644 index 00000000..49d8d56e --- /dev/null +++ b/docs/manuals/en/css/bsys.css @@ -0,0 +1,133 @@ +.bsys_mainpageclass { + width: 100% ; +} +.bsys_topclass { + margin: 0px ; + padding: 0px ; + padding-bottom: 10px ; + background: black ; +//lightgray ; +} +#bsys_logo { + padding-top: 10px ; + padding-left: 20px ; + padding-bottom: 2px ; +} +#bsys_doctitle { + margin-right: 20px ; + margin-top: 45px ; + float: right ; +} +div.leftnavigationid li { + list-style-type: none ; +} +.bsys_breadnsearchclass { + background: #ef0020 ; +//#ef0020 ; + color: white ; + padding-right: 10px ; + padding-left: 10px ; + padding-top: 15px ; + padding-bottom: 2px ; +} +.bsys_breadcrumbscontentclass { + color: white ; + font-size: 0.8em ; +} +.bsys_breadcrumbscontentclass li { + display: inline ; +} +.bsys_breadcrumbscontentclass li:before { + content: " / " ; + color: white ; + font-style: normal ; + font-weight: bold ; +} +.bsys_breadcrumbscontentclass a { + color:white ; +} +.bsys_searchclass { + float: right ; + font-weight: bold ; + font-style: italic ; + font-size: 0.95em ; +} +.bsys_searchtitleclass { + padding-right: 8px ; +} +.expochar { + font-size: 0.9em ; + vertical-align: top ; +} +.bsys_leftnavigationclass { + float: left ; + width: 300px ; + padding-right: 15px ; + font-size: 0.8em ; + border-right-style: solid ; + border-right-color: #ef0020 ; + border-right-width: 1px ; +} +.bsys_contentclass { + width: 60% ; + margin-left: 400px ; + padding-left: 20px ; + margin-right: 20px ; +} +.author_info { + text-align: center ; +} +.xhuge { + font-weight: bold ; + font-size: 1.4em ; + text-align: center ; + display: block ; +} +address { + text-align: right ; +} +.bsys_leftnavigationclass a { + color: #666666 ; + font-weight: bold ; + font-size: 0.85em ; + text-decoration: none ; +} +.bsys_leftnavigationclass li { + list-style-type: none ; + list-style-image: url(../images/right.png); + /* border-style: solid ; */ + /* border-color: green ; */ + /* border-width: 1px ; */ +} +.expandingMenuNotSelected { +} +.expandingMenuSelected { +} +.bsys_contentclass p { + text-align: justify; +} +pre { + background: #EEEEEE ; + font-family: monospace ; + font-size: 0.9em ; + letter-spacing:0.1em ; +} +h1 { + color: #ef0020 ; +} +dt { + color: #333333 ; + text-decoration: underline ; + letter-spacing: 0.05em; +} +table { + width: 100% ; + border-style: none ; +} +td { + text-align: center ; + border-style: none ; +} +tr { + background: #FFE6E3 ; +} \ No newline at end of file diff --git a/docs/manuals/en/css/developers.css b/docs/manuals/en/css/developers.css new file mode 100644 index 00000000..d01548f7 --- /dev/null +++ b/docs/manuals/en/css/developers.css @@ -0,0 +1,51 @@ +/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ +.MATH { font-family: "Century Schoolbook", serif; } +.MATH I { font-family: "Century Schoolbook", serif; font-style: italic } +.BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold } + +/* implement both fixed-size and relative sizes */ +SMALL.XTINY { font-size : xx-small } +SMALL.TINY { font-size : x-small } +SMALL.SCRIPTSIZE { font-size : smaller } +SMALL.FOOTNOTESIZE { font-size : small } +SMALL.SMALL { } +BIG.LARGE { } +BIG.XLARGE { font-size : large } +BIG.XXLARGE { font-size : x-large } +BIG.HUGE { font-size : larger } +BIG.XHUGE { font-size : xx-large } + +/* heading styles */ +H1 { } +H2 { } +H3 { } +H4 { } +H5 { } + +/* mathematics styles */ +DIV.displaymath { } /* math displays */ +TD.eqno { } /* equation-number cells */ + + +/* document-specific styles come next */ +PRE.preform { } +DIV.small { } +DIV.quote { } +SPAN.it { } +DIV.navigation { } +SPAN.tt { } +SPAN.bf { } +SPAN.textbf { font-weight: bold } +SPAN.arabic { } +SPAN.textit { font-style: italic } +SPAN.textsl { font-style: italic } +#txt3455 { text-decoration: underline; } +#txt3457 { text-decoration: underline; } +#txt3459 { text-decoration: underline; } +#txt3461 { text-decoration: underline; } +#txt3463 { text-decoration: underline; } +#txt3465 { text-decoration: underline; } +#txt3467 { text-decoration: underline; } +#txt3471 { text-decoration: underline; } +#txt3472 { text-decoration: underline; } +#txt3477 { text-decoration: underline; } diff --git a/docs/manuals/en/css/main.css b/docs/manuals/en/css/main.css new file mode 100644 index 00000000..22f12c0e --- /dev/null +++ b/docs/manuals/en/css/main.css @@ -0,0 +1,40 @@ +/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */ +.MATH { font-family: "Century Schoolbook", serif; } +.MATH I { font-family: "Century Schoolbook", serif; font-style: italic } +.BOLDMATH { font-family: "Century Schoolbook", serif; font-weight: bold } + +/* implement both fixed-size and relative sizes */ +SMALL.XTINY { font-size : xx-small } +SMALL.TINY { font-size : x-small } +SMALL.SCRIPTSIZE { font-size : smaller } +SMALL.FOOTNOTESIZE { font-size : small } +SMALL.SMALL { } +BIG.LARGE { } +BIG.XLARGE { font-size : large } +BIG.XXLARGE { font-size : x-large } +BIG.HUGE { font-size : larger } +BIG.XHUGE { font-size : xx-large } + +/* heading styles */ +H1 { } +H2 { } +H3 { } +H4 { } +H5 { } + +/* mathematics styles */ +DIV.displaymath { } /* math displays */ +TD.eqno { } /* equation-number cells */ + + +/* document-specific styles come next */ +PRE.preform { } +DIV.quote { } +DIV.center { } +SPAN.it { } +DIV.navigation { } +SPAN.bf { } +SPAN.textbf { font-weight: bold } +SPAN.arabic { } +SPAN.textit { font-style: italic } +SPAN.textsl { font-style: italic } diff --git a/docs/manuals/en/developers/Makefile.in b/docs/manuals/en/developers/Makefile.in index 07ad0e1e..2efe1865 100644 --- a/docs/manuals/en/developers/Makefile.in +++ b/docs/manuals/en/developers/Makefile.in @@ -34,11 +34,12 @@ # # $ % & ~ _ ^ \ { } # -IMAGES=../../../images + MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images DOC=developers -MAINDOC=Bacula_Developer_Notes.html +MAINDOC=Developer_s_Guide.html BSYSMANUALDIR=../../../bsysmanual COVERSDIR=../../../covers PDFCOVERSDIR=$(COVERSDIR)/pdf @@ -56,10 +57,12 @@ WWWDIR=../www-$(DOC) DOCDIR=../${DOC} TEXFILES=$(wildcard *tex) WEBFILESTOLINK=$(DOCDIR)/latex2html-init.pl $(DOCDIR)/bacula.sty $(DOCDIR)/translate_images.pl - +PDFLATEX=pdflatex +PDFLATEXOPTIONS=-interaction=batchmode +MAKEFORWEB=$(DOCDIR)/web.makefile first_rule: all -all: tex pdflatex web mini-clean +all: pdflatex web mini-clean .SUFFIXES: .tex .html .PHONY: @@ -110,44 +113,33 @@ tex: epscovers epsimages commonfiles makeindex ${DOC}.idx >/dev/null 2>/dev/null -latex -interaction=batchmode ${DOC}.tex -pdflatex: pdfcovers pdfimages commonfiles + +pdflatex: external-references + @echo " " + @echo "Generating the PDF version of $(DOC)" + @makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC).pdf generated." + + +external-references: pdfcovers pdfimages commonfiles + @echo " " + @echo "Building external references for $(DOC)" @ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE) - pdflatex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - makeindex ${DOC}.ddx -o ${DOC}.dnd >/dev/null 2>/dev/null - makeindex ${DOC}.fdx -o ${DOC}.fnd >/dev/null 2>/dev/null - makeindex ${DOC}.sdx -o ${DOC}.snd >/dev/null 2>/dev/null - makeindex ${DOC}.cdx -o ${DOC}.cnd >/dev/null 2>/dev/null - pdflatex -interaction=batchmode ${DOC}.tex - pdflatex -interaction=batchmode ${DOC}.tex - -html: - @echo "Making ${DOC} html" -# @cp -fp ${IMAGES}/*.eps . - @rm -f next.eps next.png prev.eps prev.png up.eps up.png - @touch ${DOC}.html - @(if [ -f imagename_translations ] ; then \ - ./translate_images.pl --from_meaningful_names ${DOC}.html; \ - fi) - latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \ - ${DOC} >tex.out 2>&1 - @(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: clean + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC) external references done." + +web: mini-clean @echo "Making web" @rm -rf $(WWWDIR) @mkdir -p $(WWWDIR) @echo -"Creating tex files..." @(for F in $(TEXFILES) ;\ do \ - cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g' > $(WWWDIR)/$$F ;\ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\ done) - @ln -sf $(DOCDIR)/Makefile.web $(WWWDIR)/Makefile + @ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile @(for F in $(WEBFILESTOLINK);\ do \ ln -sf $$F $(WWWDIR)/;\ @@ -190,7 +182,7 @@ main_configs: mini-clean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps - @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.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 @@ -206,7 +198,7 @@ clean: @find . -type l -name "*.tex" -exec rm {} \; @rm -f 1 2 3 @rm -f *.png *.gif *.jpg *.eps - @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.aux *.cp *.fn *.ky *.log *.pg @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd @rm -f *.dnd imagename_translations @@ -220,5 +212,6 @@ webclean: @rm -rf $(WWWDIR) distclean: webclean clean + @rm -f *.pdf @rm -f ${DOC}.html ${DOC}.pdf @rm -f Makefile version.tex diff --git a/docs/manuals/en/developers/web.makefile b/docs/manuals/en/developers/web.makefile new file mode 100644 index 00000000..274809e1 --- /dev/null +++ b/docs/manuals/en/developers/web.makefile @@ -0,0 +1,91 @@ +MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images +DOC=developers +MAINDOC=Developer_s_Guide.html +BSYSMANUALDIR=../../../bsysmanual +BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual +COVERSDIR=$(MANUALSDIR)/../covers +PDFCOVERSDIR=$(COVERSDIR)/pdf +SVGCOVERSDIR=$(COVERSDIR)/svg +EPSCOVERSDIR=$(COVERSDIR)/eps +LICENSESDIR=$(MANUALSDIR)/licences +COVERNAME=coverpage-console +BSYSMANNAME=bsysmanual-coverpagebackground +LICENCES=$(wildcard $(LICENSESDIR)/*.tex) +BSYSCOMPILERFILE=bsys-compiler-mode.tex +PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex +TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex +WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +WWWDIR=../www-$(DOC) + +.SUFFIXES: .tex .html +.PHONY: +.DONTCARE: + + +first_rule: all + +all: web clean + +pngimages: + @echo "PNG images" + @echo -n "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." + @echo -n "Linking png images..." + @(for F in $(IMAGES)/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/png/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "PNG done." + +epsimages: + @echo "EPS images" + @echo -n "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @echo "Done." + @echo -n "Linking eps images..." + @(for F in $(IMAGES)/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/eps/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "EPS done." + +clean: + @echo -n "Cleaning..." + @find . -type l -iname "*.eps" -exec rm {} \; + @find . -type l -iname "*.png" -exec rm {} \; + @echo "Done." + +commonfiles: + @(for F in $(LICENCES) ;\ + do \ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/Aenumerate/enumerate/g;s/\\raisebox{0.1ex}{\\textsuperscript\\textregistered}/\\textregistered/g;s/\[0.3\\linewidth\]/\[5cm\]/g;s/bsysitemize/itemize/g' > ./`basename $$F` ;\ + done) + cp $(MANUALSDIR)/bsys-web-mode.tex ./bsys-compiler-mode.tex + @echo "Done" + +web: commonfiles epsimages pngimages + @echo "Making web" + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @rm -f ${DOC}/xp-*.png + @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png + latex2html -split 3 -local_icons -t "Developer's Guide" -long_titles 4 \ + -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 $(MAINDOC).html; \ + fi) + @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html + @echo "Done making web" diff --git a/docs/manuals/en/images/BackupOverWan1.png b/docs/manuals/en/images/BackupOverWan1.png new file mode 100644 index 00000000..7439b253 Binary files /dev/null and b/docs/manuals/en/images/BackupOverWan1.png differ diff --git a/docs/manuals/en/images/Bacula-tray-monitor.png b/docs/manuals/en/images/Bacula-tray-monitor.png new file mode 100644 index 00000000..a053e782 Binary files /dev/null and b/docs/manuals/en/images/Bacula-tray-monitor.png differ diff --git a/docs/manuals/en/images/Conf-Diagram.png b/docs/manuals/en/images/Conf-Diagram.png new file mode 100644 index 00000000..7000a719 Binary files /dev/null and b/docs/manuals/en/images/Conf-Diagram.png differ diff --git a/docs/manuals/en/images/Exchange.png b/docs/manuals/en/images/Exchange.png new file mode 100644 index 00000000..85f0ad49 Binary files /dev/null and b/docs/manuals/en/images/Exchange.png differ diff --git a/docs/manuals/en/images/Exchange1.png b/docs/manuals/en/images/Exchange1.png new file mode 100644 index 00000000..0d8e0d6b Binary files /dev/null and b/docs/manuals/en/images/Exchange1.png differ diff --git a/docs/manuals/en/images/Exchange2.png b/docs/manuals/en/images/Exchange2.png new file mode 100644 index 00000000..dc1a6ed0 Binary files /dev/null and b/docs/manuals/en/images/Exchange2.png differ diff --git a/docs/manuals/en/images/access-is-denied.png b/docs/manuals/en/images/access-is-denied.png new file mode 100644 index 00000000..1525ab36 Binary files /dev/null and b/docs/manuals/en/images/access-is-denied.png differ diff --git a/docs/manuals/en/images/back.png b/docs/manuals/en/images/back.png new file mode 100644 index 00000000..e416cc3e Binary files /dev/null and b/docs/manuals/en/images/back.png differ diff --git a/docs/manuals/en/images/bacula-applications.png b/docs/manuals/en/images/bacula-applications.png new file mode 100644 index 00000000..cd50cd32 Binary files /dev/null and b/docs/manuals/en/images/bacula-applications.png differ diff --git a/docs/manuals/en/images/bacula-logo.png b/docs/manuals/en/images/bacula-logo.png new file mode 100644 index 00000000..f64d4287 Binary files /dev/null and b/docs/manuals/en/images/bacula-logo.png differ diff --git a/docs/manuals/en/images/bacula-objects.png b/docs/manuals/en/images/bacula-objects.png new file mode 100644 index 00000000..b9858474 Binary files /dev/null and b/docs/manuals/en/images/bacula-objects.png differ diff --git a/docs/manuals/en/images/bacula-usage.png b/docs/manuals/en/images/bacula-usage.png new file mode 100644 index 00000000..5a3437e3 Binary files /dev/null and b/docs/manuals/en/images/bacula-usage.png differ diff --git a/docs/manuals/en/images/baculasystems-logo.png b/docs/manuals/en/images/baculasystems-logo.png new file mode 100644 index 00000000..b3f86798 Binary files /dev/null and b/docs/manuals/en/images/baculasystems-logo.png differ diff --git a/docs/manuals/en/images/bat-brestore.png b/docs/manuals/en/images/bat-brestore.png new file mode 100644 index 00000000..399bcf93 Binary files /dev/null and b/docs/manuals/en/images/bat-brestore.png differ diff --git a/docs/manuals/en/images/bat-mediaview.png b/docs/manuals/en/images/bat-mediaview.png new file mode 100644 index 00000000..7489b732 Binary files /dev/null and b/docs/manuals/en/images/bat-mediaview.png differ diff --git a/docs/manuals/en/images/bat11.png b/docs/manuals/en/images/bat11.png new file mode 100644 index 00000000..58e9b2cd Binary files /dev/null and b/docs/manuals/en/images/bat11.png differ diff --git a/docs/manuals/en/images/bat12.png b/docs/manuals/en/images/bat12.png new file mode 100644 index 00000000..ae34cefa Binary files /dev/null and b/docs/manuals/en/images/bat12.png differ diff --git a/docs/manuals/en/images/bat13.png b/docs/manuals/en/images/bat13.png new file mode 100644 index 00000000..e50b84ff Binary files /dev/null and b/docs/manuals/en/images/bat13.png differ diff --git a/docs/manuals/en/images/bat14.png b/docs/manuals/en/images/bat14.png new file mode 100644 index 00000000..88c98f98 Binary files /dev/null and b/docs/manuals/en/images/bat14.png differ diff --git a/docs/manuals/en/images/bat15.png b/docs/manuals/en/images/bat15.png new file mode 100644 index 00000000..c590fb5b Binary files /dev/null and b/docs/manuals/en/images/bat15.png differ diff --git a/docs/manuals/en/images/bat16.png b/docs/manuals/en/images/bat16.png new file mode 100644 index 00000000..6da47f6e Binary files /dev/null and b/docs/manuals/en/images/bat16.png differ diff --git a/docs/manuals/en/images/bat_icon.png b/docs/manuals/en/images/bat_icon.png new file mode 100644 index 00000000..c017f9e0 Binary files /dev/null and b/docs/manuals/en/images/bat_icon.png differ diff --git a/docs/manuals/en/images/bclogo.png b/docs/manuals/en/images/bclogo.png new file mode 100644 index 00000000..6fdebcf2 Binary files /dev/null and b/docs/manuals/en/images/bclogo.png differ diff --git a/docs/manuals/en/images/bimagemgr1.png b/docs/manuals/en/images/bimagemgr1.png new file mode 100644 index 00000000..b19d56ca Binary files /dev/null and b/docs/manuals/en/images/bimagemgr1.png differ diff --git a/docs/manuals/en/images/bimagemgr2.png b/docs/manuals/en/images/bimagemgr2.png new file mode 100644 index 00000000..de325810 Binary files /dev/null and b/docs/manuals/en/images/bimagemgr2.png differ diff --git a/docs/manuals/en/images/bimagemgr3.png b/docs/manuals/en/images/bimagemgr3.png new file mode 100644 index 00000000..749c4b7c Binary files /dev/null and b/docs/manuals/en/images/bimagemgr3.png differ diff --git a/docs/manuals/en/images/bsys-doctitle.png b/docs/manuals/en/images/bsys-doctitle.png new file mode 100644 index 00000000..08d73c0a Binary files /dev/null and b/docs/manuals/en/images/bsys-doctitle.png differ diff --git a/docs/manuals/en/images/bsys-hindex.png b/docs/manuals/en/images/bsys-hindex.png new file mode 100644 index 00000000..ce3cfbc6 Binary files /dev/null and b/docs/manuals/en/images/bsys-hindex.png differ diff --git a/docs/manuals/en/images/bsys-logo.png b/docs/manuals/en/images/bsys-logo.png new file mode 100644 index 00000000..cc221254 Binary files /dev/null and b/docs/manuals/en/images/bsys-logo.png differ diff --git a/docs/manuals/en/images/bweb-index.png b/docs/manuals/en/images/bweb-index.png new file mode 100644 index 00000000..cda4d86b Binary files /dev/null and b/docs/manuals/en/images/bweb-index.png differ diff --git a/docs/manuals/en/images/bweb-report.png b/docs/manuals/en/images/bweb-report.png new file mode 100644 index 00000000..8f7c76b6 Binary files /dev/null and b/docs/manuals/en/images/bweb-report.png differ diff --git a/docs/manuals/en/images/bweb1.png b/docs/manuals/en/images/bweb1.png new file mode 100644 index 00000000..343748e0 Binary files /dev/null and b/docs/manuals/en/images/bweb1.png differ diff --git a/docs/manuals/en/images/bweb2.png b/docs/manuals/en/images/bweb2.png new file mode 100644 index 00000000..5c566cc8 Binary files /dev/null and b/docs/manuals/en/images/bweb2.png differ diff --git a/docs/manuals/en/images/bweb3.png b/docs/manuals/en/images/bweb3.png new file mode 100644 index 00000000..82927f9c Binary files /dev/null and b/docs/manuals/en/images/bweb3.png differ diff --git a/docs/manuals/en/images/bweb4.png b/docs/manuals/en/images/bweb4.png new file mode 100644 index 00000000..82b39101 Binary files /dev/null and b/docs/manuals/en/images/bweb4.png differ diff --git a/docs/manuals/en/images/bweb5.png b/docs/manuals/en/images/bweb5.png new file mode 100644 index 00000000..a733f8e8 Binary files /dev/null and b/docs/manuals/en/images/bweb5.png differ diff --git a/docs/manuals/en/images/bweb6.png b/docs/manuals/en/images/bweb6.png new file mode 100644 index 00000000..2cd388b7 Binary files /dev/null and b/docs/manuals/en/images/bweb6.png differ diff --git a/docs/manuals/en/images/confirm.png b/docs/manuals/en/images/confirm.png new file mode 100644 index 00000000..d018605c Binary files /dev/null and b/docs/manuals/en/images/confirm.png differ diff --git a/docs/manuals/en/images/contents.png b/docs/manuals/en/images/contents.png new file mode 100644 index 00000000..0c752c66 Binary files /dev/null and b/docs/manuals/en/images/contents.png differ diff --git a/docs/manuals/en/images/different_time.png b/docs/manuals/en/images/different_time.png new file mode 100644 index 00000000..c156980e Binary files /dev/null and b/docs/manuals/en/images/different_time.png differ diff --git a/docs/manuals/en/images/down.png b/docs/manuals/en/images/down.png new file mode 100644 index 00000000..19bc9371 Binary files /dev/null and b/docs/manuals/en/images/down.png differ diff --git a/docs/manuals/en/images/duplicate-real.png b/docs/manuals/en/images/duplicate-real.png new file mode 100644 index 00000000..068bd91d Binary files /dev/null and b/docs/manuals/en/images/duplicate-real.png differ diff --git a/docs/manuals/en/images/duplicate.png b/docs/manuals/en/images/duplicate.png new file mode 100644 index 00000000..aa6009c7 Binary files /dev/null and b/docs/manuals/en/images/duplicate.png differ diff --git a/docs/manuals/en/images/error.png b/docs/manuals/en/images/error.png new file mode 100644 index 00000000..8bbf1207 Binary files /dev/null and b/docs/manuals/en/images/error.png differ diff --git a/docs/manuals/en/images/file.png b/docs/manuals/en/images/file.png new file mode 100644 index 00000000..b218d877 Binary files /dev/null and b/docs/manuals/en/images/file.png differ diff --git a/docs/manuals/en/images/flow.png b/docs/manuals/en/images/flow.png new file mode 100644 index 00000000..edee701a Binary files /dev/null and b/docs/manuals/en/images/flow.png differ diff --git a/docs/manuals/en/images/git-edit-commit.png b/docs/manuals/en/images/git-edit-commit.png new file mode 100644 index 00000000..308ada4c Binary files /dev/null and b/docs/manuals/en/images/git-edit-commit.png differ diff --git a/docs/manuals/en/images/home.png b/docs/manuals/en/images/home.png new file mode 100644 index 00000000..09df68fb Binary files /dev/null and b/docs/manuals/en/images/home.png differ diff --git a/docs/manuals/en/images/idle.png b/docs/manuals/en/images/idle.png new file mode 100644 index 00000000..b6cee343 Binary files /dev/null and b/docs/manuals/en/images/idle.png differ diff --git a/docs/manuals/en/images/img25.png b/docs/manuals/en/images/img25.png new file mode 100644 index 00000000..549dbac0 Binary files /dev/null and b/docs/manuals/en/images/img25.png differ diff --git a/docs/manuals/en/images/index.png b/docs/manuals/en/images/index.png new file mode 100644 index 00000000..698f09ca Binary files /dev/null and b/docs/manuals/en/images/index.png differ diff --git a/docs/manuals/en/images/k7-error.png b/docs/manuals/en/images/k7-error.png new file mode 100644 index 00000000..e49a86f4 Binary files /dev/null and b/docs/manuals/en/images/k7-error.png differ diff --git a/docs/manuals/en/images/k7-idle.png b/docs/manuals/en/images/k7-idle.png new file mode 100644 index 00000000..ffb4eeb6 Binary files /dev/null and b/docs/manuals/en/images/k7-idle.png differ diff --git a/docs/manuals/en/images/k7-ok.png b/docs/manuals/en/images/k7-ok.png new file mode 100644 index 00000000..df3227a0 Binary files /dev/null and b/docs/manuals/en/images/k7-ok.png differ diff --git a/docs/manuals/en/images/md5.png b/docs/manuals/en/images/md5.png new file mode 100644 index 00000000..a92b5010 Binary files /dev/null and b/docs/manuals/en/images/md5.png differ diff --git a/docs/manuals/en/images/menu.png b/docs/manuals/en/images/menu.png new file mode 100644 index 00000000..0635bd89 Binary files /dev/null and b/docs/manuals/en/images/menu.png differ diff --git a/docs/manuals/en/images/next.png b/docs/manuals/en/images/next.png new file mode 100644 index 00000000..1628652a Binary files /dev/null and b/docs/manuals/en/images/next.png differ diff --git a/docs/manuals/en/images/next_g.png b/docs/manuals/en/images/next_g.png new file mode 100644 index 00000000..9d3f5912 Binary files /dev/null and b/docs/manuals/en/images/next_g.png differ diff --git a/docs/manuals/en/images/nsis.png b/docs/manuals/en/images/nsis.png new file mode 100644 index 00000000..7ef12df9 Binary files /dev/null and b/docs/manuals/en/images/nsis.png differ diff --git a/docs/manuals/en/images/philosophical-gnu-sm.png b/docs/manuals/en/images/philosophical-gnu-sm.png new file mode 100644 index 00000000..b6858846 Binary files /dev/null and b/docs/manuals/en/images/philosophical-gnu-sm.png differ diff --git a/docs/manuals/en/images/prev.png b/docs/manuals/en/images/prev.png new file mode 100644 index 00000000..e60b8b40 Binary files /dev/null and b/docs/manuals/en/images/prev.png differ diff --git a/docs/manuals/en/images/prev_g.png b/docs/manuals/en/images/prev_g.png new file mode 100644 index 00000000..476d9568 Binary files /dev/null and b/docs/manuals/en/images/prev_g.png differ diff --git a/docs/manuals/en/images/properties-security-advanced-owner.png b/docs/manuals/en/images/properties-security-advanced-owner.png new file mode 100644 index 00000000..c61495be Binary files /dev/null and b/docs/manuals/en/images/properties-security-advanced-owner.png differ diff --git a/docs/manuals/en/images/properties-security.png b/docs/manuals/en/images/properties-security.png new file mode 100644 index 00000000..e33e0c60 Binary files /dev/null and b/docs/manuals/en/images/properties-security.png differ diff --git a/docs/manuals/en/images/right.png b/docs/manuals/en/images/right.png new file mode 100644 index 00000000..f9b11e50 Binary files /dev/null and b/docs/manuals/en/images/right.png differ diff --git a/docs/manuals/en/images/running.png b/docs/manuals/en/images/running.png new file mode 100644 index 00000000..a4d711f7 Binary files /dev/null and b/docs/manuals/en/images/running.png differ diff --git a/docs/manuals/en/images/smartall.png b/docs/manuals/en/images/smartall.png new file mode 100644 index 00000000..053a4c2f Binary files /dev/null and b/docs/manuals/en/images/smartall.png differ diff --git a/docs/manuals/en/images/thanks.png b/docs/manuals/en/images/thanks.png new file mode 100644 index 00000000..3daca3a5 Binary files /dev/null and b/docs/manuals/en/images/thanks.png differ diff --git a/docs/manuals/en/images/tray-icon.png b/docs/manuals/en/images/tray-icon.png new file mode 100644 index 00000000..b860a9a5 Binary files /dev/null and b/docs/manuals/en/images/tray-icon.png differ diff --git a/docs/manuals/en/images/tray-monitor.png b/docs/manuals/en/images/tray-monitor.png new file mode 100644 index 00000000..5432f1d4 Binary files /dev/null and b/docs/manuals/en/images/tray-monitor.png differ diff --git a/docs/manuals/en/images/tray-monitor1.png b/docs/manuals/en/images/tray-monitor1.png new file mode 100644 index 00000000..7c697a78 Binary files /dev/null and b/docs/manuals/en/images/tray-monitor1.png differ diff --git a/docs/manuals/en/images/up.png b/docs/manuals/en/images/up.png new file mode 100644 index 00000000..3937e168 Binary files /dev/null and b/docs/manuals/en/images/up.png differ diff --git a/docs/manuals/en/images/up_g.png b/docs/manuals/en/images/up_g.png new file mode 100644 index 00000000..54ceb683 Binary files /dev/null and b/docs/manuals/en/images/up_g.png differ diff --git a/docs/manuals/en/images/view-only.png b/docs/manuals/en/images/view-only.png new file mode 100644 index 00000000..53ba6a14 Binary files /dev/null and b/docs/manuals/en/images/view-only.png differ diff --git a/docs/manuals/en/images/win32-config.png b/docs/manuals/en/images/win32-config.png new file mode 100644 index 00000000..31ad6b7c Binary files /dev/null and b/docs/manuals/en/images/win32-config.png differ diff --git a/docs/manuals/en/images/win32-finish.png b/docs/manuals/en/images/win32-finish.png new file mode 100644 index 00000000..a0a21245 Binary files /dev/null and b/docs/manuals/en/images/win32-finish.png differ diff --git a/docs/manuals/en/images/win32-installation-type.png b/docs/manuals/en/images/win32-installation-type.png new file mode 100644 index 00000000..fbf950b6 Binary files /dev/null and b/docs/manuals/en/images/win32-installation-type.png differ diff --git a/docs/manuals/en/images/win32-installing.png b/docs/manuals/en/images/win32-installing.png new file mode 100644 index 00000000..eb1d33a9 Binary files /dev/null and b/docs/manuals/en/images/win32-installing.png differ diff --git a/docs/manuals/en/images/win32-location.png b/docs/manuals/en/images/win32-location.png new file mode 100644 index 00000000..47394b90 Binary files /dev/null and b/docs/manuals/en/images/win32-location.png differ diff --git a/docs/manuals/en/images/win32-menu.png b/docs/manuals/en/images/win32-menu.png new file mode 100644 index 00000000..51517246 Binary files /dev/null and b/docs/manuals/en/images/win32-menu.png differ diff --git a/docs/manuals/en/images/win32-nsis.png b/docs/manuals/en/images/win32-nsis.png new file mode 100644 index 00000000..ffad8710 Binary files /dev/null and b/docs/manuals/en/images/win32-nsis.png differ diff --git a/docs/manuals/en/images/win32-pkg.png b/docs/manuals/en/images/win32-pkg.png new file mode 100644 index 00000000..8c0ec03a Binary files /dev/null and b/docs/manuals/en/images/win32-pkg.png differ diff --git a/docs/manuals/en/images/win32-service-ok.png b/docs/manuals/en/images/win32-service-ok.png new file mode 100644 index 00000000..13c63ab0 Binary files /dev/null and b/docs/manuals/en/images/win32-service-ok.png differ diff --git a/docs/manuals/en/images/win32-service.png b/docs/manuals/en/images/win32-service.png new file mode 100644 index 00000000..657396db Binary files /dev/null and b/docs/manuals/en/images/win32-service.png differ diff --git a/docs/manuals/en/images/win32-start.png b/docs/manuals/en/images/win32-start.png new file mode 100644 index 00000000..8c38df9c Binary files /dev/null and b/docs/manuals/en/images/win32-start.png differ diff --git a/docs/manuals/en/images/win32-welcome.png b/docs/manuals/en/images/win32-welcome.png new file mode 100644 index 00000000..9a551d3a Binary files /dev/null and b/docs/manuals/en/images/win32-welcome.png differ diff --git a/docs/manuals/en/images/wx-console-restore1.png b/docs/manuals/en/images/wx-console-restore1.png new file mode 100644 index 00000000..a28dd048 Binary files /dev/null and b/docs/manuals/en/images/wx-console-restore1.png differ diff --git a/docs/manuals/en/images/wx-console-restore2.png b/docs/manuals/en/images/wx-console-restore2.png new file mode 100644 index 00000000..f20485b3 Binary files /dev/null and b/docs/manuals/en/images/wx-console-restore2.png differ diff --git a/docs/manuals/en/images/xp-control-panel.png b/docs/manuals/en/images/xp-control-panel.png new file mode 100644 index 00000000..e69de29b diff --git a/docs/manuals/en/images/xp-windows-firewall-advanced-settings-after.png b/docs/manuals/en/images/xp-windows-firewall-advanced-settings-after.png new file mode 100644 index 00000000..e69de29b diff --git a/docs/manuals/en/images/xp-windows-firewall-advanced-settings-before.png b/docs/manuals/en/images/xp-windows-firewall-advanced-settings-before.png new file mode 100644 index 00000000..e69de29b diff --git a/docs/manuals/en/images/xp-windows-firewall-advanced-settings-service-details.png b/docs/manuals/en/images/xp-windows-firewall-advanced-settings-service-details.png new file mode 100644 index 00000000..e69de29b diff --git a/docs/manuals/en/images/xp-windows-firewall-advanced.png b/docs/manuals/en/images/xp-windows-firewall-advanced.png new file mode 100644 index 00000000..e69de29b diff --git a/docs/manuals/en/images/xp-windows-firewall.png b/docs/manuals/en/images/xp-windows-firewall.png new file mode 100644 index 00000000..e69de29b diff --git a/docs/manuals/en/js/bsys.js b/docs/manuals/en/js/bsys.js new file mode 100644 index 00000000..1bc7bf93 --- /dev/null +++ b/docs/manuals/en/js/bsys.js @@ -0,0 +1,111 @@ +function log(msg) { + setTimeout(function() { + throw new Error(msg); + }, 0); +} +function basename(path) { + var forwin = path.replace(/\\/g,'/') ; + var fornux = forwin.replace(/.*\//, '' ); + return fornux ; +} +function menuonload(self) { + var myatag = ""; + var mytag = "" ; + var x = 0 ; + var atag = document.getElementsByTagName("a") ; + var filename = basename(document.location.href) ; + for (x=0;x tag + // Define right classes + var classes = mytag.className ; + classes = classes.replace("expandingMenuNotSelected","expandingMenuSelected"); + mytag.className=x; + mytag.style.display="block"; + // + // Change arrow from "right" to "down" + myatag = mytag.parentNode.getElementsByTagName("a")[0] ; + // + // Keep all needed informations + breadcrumbsrefs[x] = myatag.href ; + breadcrumbstext[x] = myatag.innerHTML ; + // + // Find upper level + mytag = mytag.parentNode.parentNode ; + } + // + // Find the breadcrumbs part + mytag = document.getElementById("bsys_breadcrumbscontentid") ; + // + // Build breadcrumbs content + var thebreadcrumbs = "" + mytag.innerHTML = thebreadcrumbs ; +} +function menuonclick(self) { + // + // find the *other* tag which contains the same HREF + var myatag = ""; + var x ; + var atags = document.getElementsByTagName("a") ; + var filename = basename(self.href) ; + var firstone = 0 ; + for (x=0;x-1) + { + x=x.replace("expandingMenuNotSelected","expandingMenuSelected"); + obj.style.listStyleImage = "url(\'../../images/down.png\')" ; + document.getElementById(uniqid).className=x; + document.getElementById(uniqid).style.display="block"; + } +} +function out_expandingMenuHeader(obj,uniqid) +{ + var x=document.getElementById(uniqid).className; + if (x.indexOf("expandingMenuSelected")>-1) + { + x=x.replace("expandingMenuSelected","expandingMenuNotSelected"); + document.getElementById(uniqid).className=x; + obj.style.listStyleImage = "url(\'../../images/right.png\')" ; + document.getElementById(uniqid).style.display="none"; + } +} diff --git a/docs/manuals/en/main/Makefile.in b/docs/manuals/en/main/Makefile.in index 3daafe37..0fe5560d 100644 --- a/docs/manuals/en/main/Makefile.in +++ b/docs/manuals/en/main/Makefile.in @@ -32,9 +32,8 @@ # # # $ % & ~ _ ^ \ { } # - -IMAGES=../../../images MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images DOC=main MAINDOC=Bacula_Main_Reference.html BSYSMANUALDIR=../../../bsysmanual @@ -54,10 +53,13 @@ WWWDIR=../www-$(DOC) DOCDIR=../${DOC} TEXFILES=$(wildcard *.tex) WEBFILESTOLINK=$(DOCDIR)/latex2html-init.pl $(DOCDIR)/bacula.sty $(DOCDIR)/translate_images.pl +MAKEFORWEB=$(DOCDIR)/web.makefile +PDFLATEX=pdflatex +PDFLATEXOPTIONS=-interaction=batchmode first_rule: all -all: tex pdflatex web mini-clean +all: pdflatex web mini-clean .SUFFIXES: .tex .html .PHONY: @@ -113,17 +115,22 @@ tex: epscovers epsimages commonfiles makeindex ${DOC}.cdx -o ${DOC}.cnd >/dev/null 2>/dev/null latex -interaction=batchmode ${DOC}.tex -pdflatex: pdfcovers pdfimages commonfiles +external-references: pdfcovers pdfimages commonfiles + @echo " " + @echo "Building external references for $(DOC)" @ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE) - pdflatex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - makeindex ${DOC}.ddx -o ${DOC}.dnd >/dev/null 2>/dev/null - makeindex ${DOC}.fdx -o ${DOC}.fnd >/dev/null 2>/dev/null - makeindex ${DOC}.sdx -o ${DOC}.snd >/dev/null 2>/dev/null - makeindex ${DOC}.cdx -o ${DOC}.cnd >/dev/null 2>/dev/null - pdflatex -interaction=batchmode ${DOC}.tex - pdflatex -interaction=batchmode ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC) external references done." +pdflatex: external-references + @echo " " + @echo " Generating the PDF version of $(DOC)" + @echo " building indexes" + @makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null + @echo -n " compiling..." + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC).pdf generated." html: @echo " " @echo "Making html" @@ -142,38 +149,23 @@ html: @echo "Done making html" -web: clean +web: mini-clean @echo "Making web" @rm -rf $(WWWDIR) @mkdir -p $(WWWDIR) @echo -"Creating tex files..." @(for F in $(TEXFILES) ;\ do \ - cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g' > $(WWWDIR)/$$F ;\ + cat $$F | sed -e 's/bsysref/vref/g;s/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/\\bsysimage.{\(.*\)}{\(.*\)}{\(.*\)}/\\begin{center}\\begin{figure}\\includegraphics{\1}\\caption{\2}\\label{\3}\\end{figure}\\end{center}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g;s/\\begin{landscape}//g;s/\\end{landscape}//g' > $(WWWDIR)/$$F ;\ done) - @ln -sf $(DOCDIR)/Makefile.web $(WWWDIR)/Makefile + @ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile @(for F in $(WEBFILESTOLINK);\ do \ ln -sf $$F $(WWWDIR)/;\ done) (cd $(WWWDIR) ; make ) @echo "Done making web" -# -# web: -# @echo "Making web" -# @rm -rf ${DOC} -# @mkdir -p ${DOC} -# @cp -fp ${IMAGES}/*.eps . -# @rm -f next.eps next.png prev.eps prev.png up.eps up.png -# latex2html -split 3 -local_icons -t "Bacula Main Reference" -long_titles 4 \ -# -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}/${MAINDOC} ${DOC}/index.html -# @echo "Done making web" + show: xdvi ${DOC} @@ -186,7 +178,7 @@ main_configs: mini-clean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps - @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.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 @@ -215,5 +207,6 @@ webclean: @rm -rf $(WWWDIR) distclean: webclean clean + @rm -f *.pdf @rm -f images.pl labels.pl internals.pl @rm -f Makefile version.tex diff --git a/docs/manuals/en/main/web.makefile b/docs/manuals/en/main/web.makefile new file mode 100644 index 00000000..65c7fb3c --- /dev/null +++ b/docs/manuals/en/main/web.makefile @@ -0,0 +1,90 @@ +MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images +DOC=main +MAINDOC=Bacula_Main_Reference.html +BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual +COVERSDIR=$(MANUALSDIR)/../covers +PDFCOVERSDIR=$(COVERSDIR)/pdf +SVGCOVERSDIR=$(COVERSDIR)/svg +EPSCOVERSDIR=$(COVERSDIR)/eps +LICENSESDIR=$(MANUALSDIR)/licences +COVERNAME=coverpage-console +BSYSMANNAME=bsysmanual-coverpagebackground +LICENCES=$(wildcard $(LICENSESDIR)/*.tex) +TABLES=$(wildcard table_*.tex) +BSYSCOMPILERFILE=bsys-compiler-mode.tex +PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex +TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex +WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +WWWDIR=../www-$(DOC) + +.SUFFIXES: .tex .html +.PHONY: +.DONTCARE: + +first_rule: all + +all: web clean + +pngimages: + @echo "PNG images" + @echo -n "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." + @echo -n "Linking png images..." + @(for F in $(IMAGES)/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/png/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "PNG done." + +epsimages: + @echo "EPS images" + @echo -n "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @echo "Done." + @echo -n "Linking eps images..." + @(for F in $(IMAGES)/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/eps/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "EPS done." + +clean: + @echo -n "Cleaning..." + @find . -type l -iname "*.eps" -exec rm {} \; + @find . -type l -iname "*.png" -exec rm {} \; + @echo "Done." + +commonfiles: + @(for F in $(LICENCES) ;\ + do \ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/\\bsysimage.{\(.*\)}{\(.*\)}{\(.*\)}/\\begin{center}\\begin{figure}\\includegraphics{\1}\\caption{\2}\\label{\3}\\end{figure}\\end{center}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/Aenumerate/enumerate/g;s/\\raisebox{0.1ex}{\\textsuperscript\\textregistered}/\\textregistered/g;s/\[0.3\\linewidth\]/\[5cm\]/g;s/bsysitemize/itemize/g' > ./`basename $$F` ;\ + done) + cp $(MANUALSDIR)/bsys-web-mode.tex ./bsys-compiler-mode.tex + @echo "Done" + +web: commonfiles epsimages pngimages + @echo "Making web" + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @rm -f ${DOC}/xp-*.png + @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png + latex2html -split 3 -local_icons -t "Bacula Main Reference" -long_titles 4 \ + -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 $(MAINDOC).html; \ + fi) + @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html + @echo "Done making web" diff --git a/docs/manuals/en/misc/Makefile.in b/docs/manuals/en/misc/Makefile.in index 2ac9475f..1815cfb6 100644 --- a/docs/manuals/en/misc/Makefile.in +++ b/docs/manuals/en/misc/Makefile.in @@ -56,10 +56,13 @@ WWWDIR=../www-$(DOC) DOCDIR=../${DOC} TEXFILES=$(wildcard *.tex) WEBFILESTOLINK=$(DOCDIR)/latex2html-init.pl $(DOCDIR)/bacula.sty $(DOCDIR)/translate_images.pl +PDFLATEX=pdflatex +PDFLATEXOPTIONS=-interaction=batchmode +MAKEFORWEB=$(DOCDIR)/web.makefile first_rule: all -all: tex pdflatex web mini-clean +all: pdflatex web mini-clean .SUFFIXES: .tex .html .PHONY: @@ -111,13 +114,22 @@ tex: epscovers epsimages commonfiles makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null latex -interaction=batchmode ${DOC}.tex - -pdflatex: pdfcovers pdfimages commonfiles +external-references: pdfcovers pdfimages commonfiles + @echo " " + @echo "Building external references for $(DOC)" @ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE) - pdflatex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - pdflatex -interaction=batchmode ${DOC}.tex - pdflatex -interaction=batchmode ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC) external references done." + +pdflatex: external-references + @echo " " + @echo " Generating the PDF version of $(DOC)" + @echo " building indexes" + @makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null + @echo " compiling..." + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC).pdf generated." html: @echo " " @@ -132,16 +144,16 @@ html: (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done) @echo "Done making html" -web: clean +web: mini-clean @echo "Making web" @rm -rf $(WWWDIR) @mkdir -p $(WWWDIR) @echo -"Creating tex files..." @(for F in $(TEXFILES) ;\ do \ - cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g' > $(WWWDIR)/$$F ;\ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\ done) - @ln -sf $(DOCDIR)/Makefile.web $(WWWDIR)/Makefile + @ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile @(for F in $(WEBFILESTOLINK);\ do \ ln -sf $$F $(WWWDIR)/;\ @@ -180,7 +192,7 @@ main_configs: mini-clean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps - @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.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 @@ -197,7 +209,7 @@ clean: @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 + @rm -f *.aux *.cp *.fn *.ky *.log *.pg @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 @@ -209,5 +221,6 @@ webclean: @rm -rf $(WWWDIR) distclean: webclean clean + @rm -f *.pdf @rm -f images.pl labels.pl internals.pl @rm -f Makefile version.tex diff --git a/docs/manuals/en/misc/web.makefile b/docs/manuals/en/misc/web.makefile new file mode 100644 index 00000000..63d939dd --- /dev/null +++ b/docs/manuals/en/misc/web.makefile @@ -0,0 +1,90 @@ +MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images +DOC=misc +MAINDOC=Bacula_Miscellaneous_Guide.html +BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual +COVERSDIR=$(MANUALSDIR)/../covers +PDFCOVERSDIR=$(COVERSDIR)/pdf +SVGCOVERSDIR=$(COVERSDIR)/svg +EPSCOVERSDIR=$(COVERSDIR)/eps +LICENSESDIR=$(MANUALSDIR)/licences +COVERNAME=coverpage-console +BSYSMANNAME=bsysmanual-coverpagebackground +LICENCES=$(wildcard $(LICENSESDIR)/*.tex) +BSYSCOMPILERFILE=bsys-compiler-mode.tex +PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex +TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex +WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +WWWDIR=../www-$(DOC) + +.SUFFIXES: .tex .html +.PHONY: +.DONTCARE: + + +first_rule: all + +all: web clean + +pngimages: + @echo "PNG images" + @echo -n "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." + @echo -n "Linking png images..." + @(for F in $(IMAGES)/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/png/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "PNG done." + +epsimages: + @echo "EPS images" + @echo -n "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @echo "Done." + @echo -n "Linking eps images..." + @(for F in $(IMAGES)/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/eps/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "EPS done." + +clean: + @echo -n "Cleaning..." + @find . -type l -iname "*.eps" -exec rm {} \; + @find . -type l -iname "*.png" -exec rm {} \; + @echo "Done." + +commonfiles: + @(for F in $(LICENCES) ;\ + do \ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/Aenumerate/enumerate/g;s/\\raisebox{0.1ex}{\\textsuperscript\\textregistered}/\\textregistered/g;s/\[0.3\\linewidth\]/\[5cm\]/g;s/bsysitemize/itemize/g' > ./`basename $$F` ;\ + done) + cp $(MANUALSDIR)/bsys-web-mode.tex ./bsys-compiler-mode.tex + @echo "Done" + +web: commonfiles epsimages pngimages + @echo "Making web" + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @rm -f ${DOC}/xp-*.png + @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png + latex2html -split 3 -local_icons -t "Bacula Miscellaneous Guide" -long_titles 4 \ + -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 $(MAINDOC).html; \ + fi) + @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html + @echo "Done making web" diff --git a/docs/manuals/en/problems/Makefile.in b/docs/manuals/en/problems/Makefile.in index cff5ac9b..e6d7c3c9 100644 --- a/docs/manuals/en/problems/Makefile.in +++ b/docs/manuals/en/problems/Makefile.in @@ -56,10 +56,13 @@ WWWDIR=../www-$(DOC) DOCDIR=../${DOC} TEXFILES=$(wildcard *.tex) WEBFILESTOLINK=$(DOCDIR)/latex2html-init.pl $(DOCDIR)/bacula.sty $(DOCDIR)/translate_images.pl +PDFLATEX=pdflatex +PDFLATEXOPTIONS=-interaction=batchmode +MAKEFORWEB=$(DOCDIR)/web.makefile first_rule: all -all: tex pdflatex web mini-clean +all: pdflatex web mini-clean .SUFFIXES: .tex .html .PHONY: @@ -110,13 +113,22 @@ tex: epscovers epsimages commonfiles makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null latex -interaction=batchmode ${DOC}.tex - -pdflatex: pdfcovers pdfimages commonfiles +external-references: pdfcovers pdfimages commonfiles + @echo " " + @echo "Building external references for $(DOC)" @ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE) - pdflatex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - pdflatex -interaction=batchmode ${DOC}.tex - pdflatex -interaction=batchmode ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC) external references done." + +pdflatex: external-references + @echo " " + @echo " Generating the PDF version of $(DOC)" + @echo " building indexes" + @makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null + @echo " compiling..." + $(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + $(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC).pdf generated." html: @echo " " @@ -134,16 +146,16 @@ html: (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done) @echo "Done making html" -web: clean +web: mini-clean @echo "Making web" @rm -rf $(WWWDIR) @mkdir -p $(WWWDIR) @echo -"Creating tex files..." @(for F in $(TEXFILES) ;\ do \ - cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g' > $(WWWDIR)/$$F ;\ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\ done) - @ln -sf $(DOCDIR)/Makefile.web $(WWWDIR)/Makefile + @ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile @(for F in $(WEBFILESTOLINK);\ do \ ln -sf $$F $(WWWDIR)/;\ @@ -180,7 +192,7 @@ main_configs: mini-clean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps - @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.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 @@ -198,7 +210,7 @@ clean: @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 + @rm -f *.aux *.cp *.fn *.ky *.log *.pg @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 @@ -210,5 +222,6 @@ webclean: @rm -rf $(WWWDIR) distclean: webclean clean + @rm -f *.pdf @rm -f images.pl labels.pl internals.pl @rm -f Makefile version.tex diff --git a/docs/manuals/en/problems/web.makefile b/docs/manuals/en/problems/web.makefile new file mode 100644 index 00000000..1c3864b8 --- /dev/null +++ b/docs/manuals/en/problems/web.makefile @@ -0,0 +1,89 @@ +MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images +DOC=problems +MAINDOC=Bacula_Problem_Resolution_G.html +BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual +COVERSDIR=$(MANUALSDIR)/../covers +PDFCOVERSDIR=$(COVERSDIR)/pdf +SVGCOVERSDIR=$(COVERSDIR)/svg +EPSCOVERSDIR=$(COVERSDIR)/eps +LICENSESDIR=$(MANUALSDIR)/licences +COVERNAME=coverpage-console +BSYSMANNAME=bsysmanual-coverpagebackground +LICENCES=$(wildcard $(LICENSESDIR)/*.tex) +BSYSCOMPILERFILE=bsys-compiler-mode.tex +PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex +TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex +WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +WWWDIR=../www-$(DOC) + +.SUFFIXES: .tex .html +.PHONY: +.DONTCARE: + +first_rule: all + +all: web clean + +pngimages: + @echo "PNG images" + @echo -n "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." + @echo -n "Linking png images..." + @(for F in $(IMAGES)/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/png/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "PNG done." + +epsimages: + @echo "EPS images" + @echo -n "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @echo "Done." + @echo -n "Linking eps images..." + @(for F in $(IMAGES)/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/eps/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "EPS done." + +clean: + @echo -n "Cleaning..." + @find . -type l -iname "*.eps" -exec rm {} \; + @find . -type l -iname "*.png" -exec rm {} \; + @echo "Done." + +commonfiles: + @(for F in $(LICENCES) ;\ + do \ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/Aenumerate/enumerate/g;s/\\raisebox{0.1ex}{\\textsuperscript\\textregistered}/\\textregistered/g;s/\[0.3\\linewidth\]/\[5cm\]/g;s/bsysitemize/itemize/g' > ./`basename $$F` ;\ + done) + cp $(MANUALSDIR)/bsys-web-mode.tex ./bsys-compiler-mode.tex + @echo "Done" + +web: commonfiles epsimages pngimages + @echo "Making web" + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @rm -f ${DOC}/xp-*.png + @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png + latex2html -split 3 -local_icons -t "Bacula Problem Resolution Guide" -long_titles 4 \ + -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 $(MAINDOC).html; \ + fi) + @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html + @echo "Done making web" diff --git a/docs/manuals/en/utility/Makefile.in b/docs/manuals/en/utility/Makefile.in index 6b948c9c..7bf6d39b 100644 --- a/docs/manuals/en/utility/Makefile.in +++ b/docs/manuals/en/utility/Makefile.in @@ -55,11 +55,13 @@ WWWDIR=../www-$(DOC) DOCDIR=../${DOC} TEXFILES=$(wildcard *.tex) WEBFILESTOLINK=$(DOCDIR)/latex2html-init.pl $(DOCDIR)/bacula.sty $(DOCDIR)/translate_images.pl - +PDFLATEX=pdflatex +PDFLATEXOPTIONS=-interaction=batchmode +MAKEFORWEB=$(DOCDIR)/web.makefile first_rule: all -all: tex pdflatex web mini-clean +all: pdflatex web mini-clean .SUFFIXES: .tex .html @@ -113,15 +115,23 @@ tex: epscovers epsimages commonfiles makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null latex -interaction=batchmode ${DOC}.tex - -pdflatex: pdfcovers pdfimages commonfiles +external-references: pdfcovers pdfimages commonfiles + @echo " " + @echo "Building external references for $(DOC)" @ln -sf $(PDFCOMPILERFILE) $(BSYSCOMPILERFILE) - @touch ${DOC}i-dir.tex ${DOC}i-fd.tex ${DOC}i-sd.tex \ - ${DOC}i-console.tex ${DOC}i-general.tex - pdflatex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null - pdflatex -interaction=batchmode ${DOC}.tex - pdflatex -interaction=batchmode ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC) external references done." + + +pdflatex: external-references + @echo " " + @echo " Generating the PDF version of $(DOC)" + @echo " building indexes" + @makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null + @echo " compiling..." + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @$(PDFLATEX) $(PDFLATEXOPTIONS) ${DOC}.tex + @echo "$(DOC).pdf generated." html: @echo " " @@ -140,16 +150,16 @@ html: (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done) @echo "Done making html" -web: clean +web: mini-clean @echo "Making web" @rm -rf $(WWWDIR) @mkdir -p $(WWWDIR) @echo -"Creating tex files..." @(for F in $(TEXFILES) ;\ do \ - cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g' > $(WWWDIR)/$$F ;\ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/bsysitemize/itemize/g;s/\\listoffigures//g;s/\\listoftables//g;s/\\LTXtable{.*}{\(.*\)}/\\include{\1}/g' > $(WWWDIR)/$$F ;\ done) - @ln -sf $(DOCDIR)/Makefile.web $(WWWDIR)/Makefile + @ln -sf $(MAKEFORWEB) $(WWWDIR)/Makefile @(for F in $(WEBFILESTOLINK);\ do \ ln -sf $$F $(WWWDIR)/;\ @@ -186,7 +196,7 @@ main_configs: mini-clean: @rm -f 1 2 3 *.tex~ @rm -f *.gif *.jpg *.eps - @rm -f *.aux *.cp *.fn *.ky *.log *.pg + @rm -f *.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 @@ -203,7 +213,7 @@ clean: @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 + @rm -f *.aux *.cp *.fn *.ky *.log *.pg @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 @@ -215,5 +225,6 @@ webclean: @rm -rf $(WWWDIR) distclean: webclean clean + @rm -f *.pdf @rm -f images.pl labels.pl internals.pl @rm -f Makefile version.tex diff --git a/docs/manuals/en/utility/web.makefile b/docs/manuals/en/utility/web.makefile new file mode 100644 index 00000000..f625a6c4 --- /dev/null +++ b/docs/manuals/en/utility/web.makefile @@ -0,0 +1,89 @@ +MANUALSDIR=../.. +IMAGES=$(MANUALSDIR)/../images +DOC=utility +MAINDOC=Bacula_Utility_Programs.html +BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual +COVERSDIR=$(MANUALSDIR)/../covers +PDFCOVERSDIR=$(COVERSDIR)/pdf +SVGCOVERSDIR=$(COVERSDIR)/svg +EPSCOVERSDIR=$(COVERSDIR)/eps +LICENSESDIR=$(MANUALSDIR)/licences +COVERNAME=coverpage-console +BSYSMANNAME=bsysmanual-coverpagebackground +LICENCES=$(wildcard $(LICENSESDIR)/*.tex) +BSYSCOMPILERFILE=bsys-compiler-mode.tex +PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex +TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex +WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex +WWWDIR=../www-$(DOC) + +.SUFFIXES: .tex .html +.PHONY: +.DONTCARE: + +first_rule: all + +all: web clean + +pngimages: + @echo "PNG images" + @echo -n "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." + @echo -n "Linking png images..." + @(for F in $(IMAGES)/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/png/*.png ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "PNG done." + +epsimages: + @echo "EPS images" + @echo -n "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @echo "Done." + @echo -n "Linking eps images..." + @(for F in $(IMAGES)/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @(for F in $(IMAGES)/eps/*.eps ;\ + do \ + ln -sf $$F ./`basename $$F`; \ + done) + @echo "Done." + @echo "EPS done." + +clean: + @echo -n "Cleaning..." + @find . -type l -iname "*.eps" -exec rm {} \; + @find . -type l -iname "*.png" -exec rm {} \; + @echo "Done." + +commonfiles: + @(for F in $(LICENCES) ;\ + do \ + cat $$F | sed -e 's/lstlisting/verbatim/g;s/lstinline/verb/g;s/\\lstset.*//g;s/bsysimage.{\(.*\)}{.*}{.*}/includegraphics{\1}/g;s/\\input{head.*//g;s/bsysmanual/book/g;s/Aenumerate/enumerate/g;s/\\raisebox{0.1ex}{\\textsuperscript\\textregistered}/\\textregistered/g;s/\[0.3\\linewidth\]/\[5cm\]/g;s/bsysitemize/itemize/g' > ./`basename $$F` ;\ + done) + cp $(MANUALSDIR)/bsys-web-mode.tex ./bsys-compiler-mode.tex + @echo "Done" + +web: commonfiles epsimages pngimages + @echo "Making web" + @rm -f next.eps next.png prev.eps prev.png up.eps up.png + @rm -f ${DOC}/xp-*.png + @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png + latex2html -split 3 -local_icons -t "Bacula Utility Programs" -long_titles 4 \ + -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 $(MAINDOC).html; \ + fi) + @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html + @echo "Done making web"