From 2dad9675a2fddde7665c313aa377340f140ee876 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 1 Apr 2014 11:57:51 +0200 Subject: [PATCH] Do not delete Makefile during distclean --- docs/Makefile | 4 - docs/manuals/en/console/Makefile | 147 +++++++++++----------- docs/manuals/en/developers/Makefile | 187 ++++++++++++++-------------- docs/manuals/en/main/Makefile | 1 - docs/manuals/en/misc/Makefile | 173 +++++++++++++------------ docs/manuals/en/problems/Makefile | 173 +++++++++++++------------ docs/manuals/en/utility/Makefile | 173 +++++++++++++------------ 7 files changed, 424 insertions(+), 434 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 27f742ed..e53b2d07 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -168,7 +168,6 @@ mini-clean: realclean: clean distclean: clean - $(RMF) Makefile $(RMF) -r CVS html-manual/CVS home-page/CVS techlogs/CVS $(RMF) -rf autom4te.cache bacula-doc-* config.log config.out $(RMF) -f config.status kernsconfig @@ -183,9 +182,6 @@ distclean: clean @echo "latex directory cleaned up" -devclean: - $(RMF) Makefile - depend: install: diff --git a/docs/manuals/en/console/Makefile b/docs/manuals/en/console/Makefile index 6055d3ec..1edb8add 100644 --- a/docs/manuals/en/console/Makefile +++ b/docs/manuals/en/console/Makefile @@ -66,101 +66,100 @@ all: pdftex web mini-clean .DONTCARE: destdir: - @echo - @echo "Making output directories..." - @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) - echo "Output directories done" + @echo + @echo "Making output directories..." + @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) + echo "Output directories done" pdfcovers: - @echo "" - @echo "Making covers for $(DOC)" - @(cd $(IMAGES)/svg ; make pdf) - @echo "Covers done." - @echo "" + @echo "" + @echo "Making covers for $(DOC)" + @(cd $(IMAGES)/svg ; make pdf) + @echo "Covers done." + @echo "" external-references: destdir - @echo " " - @echo "Building external references for $(DOC)" - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) - @rm -f $(PDF_DEST_DIR)/$(DOC).pdf - @echo "$(DOC) external references done." + @echo " " + @echo "Building external references for $(DOC)" + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) + @rm -f $(PDF_DEST_DIR)/$(DOC).pdf + @echo "$(DOC) external references done." pdftex: destdir - @echo "" - @echo "Making PDF manual with PDFLATEX compile..." - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) + @echo "" + @echo "Making PDF manual with PDFLATEX compile..." + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) epscovers: - @echo " " - @echo -n "Linking coverpage and background EPS format..." - @(cd $(SVGCOVERSDIR) ; make eps) - @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps - @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf - @echo "Done." + @echo " " + @echo -n "Linking coverpage and background EPS format..." + @(cd $(SVGCOVERSDIR) ; make eps) + @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps + @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf + @echo "Done." commonfiles: - @echo "Making version `cat version.tex`" - @echo -n "Linking shared files..." - @(for L in $(LICENCES); do ln -sf $$L .; done) - @echo "Done" + @echo "Making version `cat version.tex`" + @echo -n "Linking shared files..." + @(for L in $(LICENCES); do ln -sf $$L .; done) + @echo "Done" web: mini-clean - @echo "Making web" - @rm -rf $(WWW_BUILD_DIR) - @mkdir -p $(WWW_BUILD_DIR) - @echo "Adapting $(DOC) tex files for HTML documentation..." - @(for F in $(TEXFILES) ;\ - do \ - cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ - done) - @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile - @(for F in $(WEBFILESTOLINK);\ - do \ - ln -sf $$F $(WWW_BUILD_DIR)/;\ - done) - (cd $(WWW_BUILD_DIR) ; make ) - @echo "Done making web" + @echo "Making web" + @rm -rf $(WWW_BUILD_DIR) + @mkdir -p $(WWW_BUILD_DIR) + @echo "Adapting $(DOC) tex files for HTML documentation..." + @(for F in $(TEXFILES) ;\ + do \ + cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ + done) + @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile + @(for F in $(WEBFILESTOLINK);\ + do \ + ln -sf $$F $(WWW_BUILD_DIR)/;\ + done) + (cd $(WWW_BUILD_DIR) ; make ) + @echo "Done making web" show: - evince $(PDF_DEST_DIR)/${DOC}.pdf + evince $(PDF_DEST_DIR)/${DOC}.pdf texcheck: - ./check_tex.pl ${DOC}.tex + ./check_tex.pl ${DOC}.tex main_configs: - pic2graph -density 100 main_configs.png + pic2graph -density 100 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 - @rm -rf $(WWW_BUILD_DIR) + @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 + @rm -rf $(WWW_BUILD_DIR) clean: - @rm -f graphicspolicy.tex - @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 *.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 ${DOC}i-*.tex - @rm -rf $(WWW_BUILD_DIR) + @rm -f graphicspolicy.tex + @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 *.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 ${DOC}i-*.tex + @rm -rf $(WWW_BUILD_DIR) distclean: clean - @rm -f images.pl labels.pl internals.pl - @rm -f Makefile version.tex - @rm -rf $(WWW_BUILD_DIR) - @rm -rf $(HTML_DEST_DIR) + @rm -f images.pl labels.pl internals.pl + @rm -rf $(WWW_BUILD_DIR) + @rm -rf $(HTML_DEST_DIR) diff --git a/docs/manuals/en/developers/Makefile b/docs/manuals/en/developers/Makefile index 360c5aa0..276c8f7c 100644 --- a/docs/manuals/en/developers/Makefile +++ b/docs/manuals/en/developers/Makefile @@ -47,129 +47,128 @@ all: pdftex web mini-clean pdfimages: - @echo "Generating PDF images..." - @(cd ${IMAGES}/svg ; make pdf) - @echo "Done." + @echo "Generating PDF images..." + @(cd ${IMAGES}/svg ; make pdf) + @echo "Done." pngimages: - @echo "Generating PNG images..." - @(cd ${IMAGES}/svg ; make png) - @echo "Done." + @echo "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." epsimages: - @echo "Generating EPS images..." - @(cd ${IMAGES}/svg ; make eps) - @rm -rf ${IMAGES}/png - @rm -rf ${IMAGES}/pdf - @echo "Done." + @echo "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @rm -rf ${IMAGES}/png + @rm -rf ${IMAGES}/pdf + @echo "Done." epscovers: - @echo -n "Linking coverpage and background EPS format..." - @(cd $(SVGCOVERSDIR) ; make eps) - @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps - @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf - @echo "Done." + @echo -n "Linking coverpage and background EPS format..." + @(cd $(SVGCOVERSDIR) ; make eps) + @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps + @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf + @echo "Done." commonfiles: - @echo -n "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}.idx ${DOC}i-general.tex - -latex -interaction=batchmode ${DOC}.tex - makeindex ${DOC}.idx >/dev/null 2>/dev/null - -latex -interaction=batchmode ${DOC}.tex + @echo -n "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}.idx ${DOC}i-general.tex + -latex -interaction=batchmode ${DOC}.tex + makeindex ${DOC}.idx >/dev/null 2>/dev/null + -latex -interaction=batchmode ${DOC}.tex destdir: - @echo - @echo "Making output directories..." - @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) - echo "Output directories done" + @echo + @echo "Making output directories..." + @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) + echo "Output directories done" pdfcovers: - @echo "" - @echo "Making covers for $(DOC)" - @(cd $(IMAGES)/svg ; make pdf) - @echo "Covers done." - @echo "" + @echo "" + @echo "Making covers for $(DOC)" + @(cd $(IMAGES)/svg ; make pdf) + @echo "Covers done." + @echo "" external-references: destdir - @echo " " - @echo "Building external references for $(DOC)" - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) - @rm -f $(PDF_DEST_DIR)/$(DOC).pdf - @echo "$(DOC) external references done." + @echo " " + @echo "Building external references for $(DOC)" + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) + @rm -f $(PDF_DEST_DIR)/$(DOC).pdf + @echo "$(DOC) external references done." pdftex: destdir - @echo "" - @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) - @echo "Done" + @echo "" + @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) + @echo "Done" web: mini-clean - @echo "Making web" - @rm -rf $(WWW_BUILD_DIR) - @mkdir -p $(WWW_BUILD_DIR) - @echo "Adapting $(DOC) tex files for HTML documentation..." - @(for F in $(TEXFILES) ;\ - do \ - cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ - done) - @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile - @(for F in $(WEBFILESTOLINK);\ - do \ - ln -sf $$F $(WWW_BUILD_DIR)/;\ - done) - (cd $(WWW_BUILD_DIR) ; make ) - @echo "Done making web" + @echo "Making web" + @rm -rf $(WWW_BUILD_DIR) + @mkdir -p $(WWW_BUILD_DIR) + @echo "Adapting $(DOC) tex files for HTML documentation..." + @(for F in $(TEXFILES) ;\ + do \ + cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ + done) + @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile + @(for F in $(WEBFILESTOLINK);\ + do \ + ln -sf $$F $(WWW_BUILD_DIR)/;\ + done) + (cd $(WWW_BUILD_DIR) ; make ) + @echo "Done making web" show: - evince $(PDF_DEST_DIR)/${DOC}.pdf + evince $(PDF_DEST_DIR)/${DOC}.pdf texcheck: - ./check_tex.pl ${DOC}.tex + ./check_tex.pl ${DOC}.tex main_configs: - pic2graph -density 100 main_configs.png + pic2graph -density 100 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 - @rm -rf ../www-$(DOC) + @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 + @rm -rf ../www-$(DOC) clean: - @rm -f graphicspolicy.tex - @rm -f 1 2 3 - @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 *.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 images.tex ${DOC}i.tex - @rm -f ${DOC}i-*.tex - @rm -rf $(WWW_BUILD_DIR) + @rm -f graphicspolicy.tex + @rm -f 1 2 3 + @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 *.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 images.tex ${DOC}i.tex + @rm -f ${DOC}i-*.tex + @rm -rf $(WWW_BUILD_DIR) distclean: clean - @rm -f ${DOC}.html ${DOC}.pdf - @rm -f Makefile version.tex - @rm -rf $(WWW_BUILD_DIR) - @rm -rf $(HTML_DEST_DIR) + @rm -f ${DOC}.html ${DOC}.pdf + @rm -rf $(WWW_BUILD_DIR) + @rm -rf $(HTML_DEST_DIR) diff --git a/docs/manuals/en/main/Makefile b/docs/manuals/en/main/Makefile index 2097906f..c806264d 100644 --- a/docs/manuals/en/main/Makefile +++ b/docs/manuals/en/main/Makefile @@ -216,4 +216,3 @@ webclean: distclean: webclean clean @rm -f *.pdf @rm -f images.pl labels.pl internals.pl - @rm -f Makefile version.tex bacula.sty diff --git a/docs/manuals/en/misc/Makefile b/docs/manuals/en/misc/Makefile index 3ae5bc3c..c739e351 100644 --- a/docs/manuals/en/misc/Makefile +++ b/docs/manuals/en/misc/Makefile @@ -67,122 +67,121 @@ all: pdftex web mini-clean destdir: - @echo - @echo "Making output directories..." - @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) - echo "Output directories done" + @echo + @echo "Making output directories..." + @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) + echo "Output directories done" pdfimages: - @echo "Generating PDF images..." - @(cd ${IMAGES}/svg ; make pdf) - @echo "Done." + @echo "Generating PDF images..." + @(cd ${IMAGES}/svg ; make pdf) + @echo "Done." pngimages: - @echo "Generating PNG images..." - @(cd ${IMAGES}/svg ; make png) - @echo "Done." + @echo "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." epsimages: - @echo "Generating EPS images..." - @(cd ${IMAGES}/svg ; make eps) - @rm -rf ${IMAGES}/png - @rm -rf ${IMAGES}/pdf - @echo "Done." + @echo "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @rm -rf ${IMAGES}/png + @rm -rf ${IMAGES}/pdf + @echo "Done." epscovers: - @echo -n "Linking coverpage and background EPS format..." - @(cd $(SVGCOVERSDIR) ; make eps) - @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps - @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf - @echo "Done." + @echo -n "Linking coverpage and background EPS format..." + @(cd $(SVGCOVERSDIR) ; make eps) + @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps + @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf + @echo "Done." commonfiles: - @echo -n "Making version `cat version.tex`" - @echo -n "Linking shared files..." - @(for L in $(LICENCES); do ln -sf $$L .; done) - @echo "Done" + @echo -n "Making version `cat version.tex`" + @echo -n "Linking shared files..." + @(for L in $(LICENCES); do ln -sf $$L .; done) + @echo "Done" pdfcovers: - @echo "" - @echo "Making covers for $(DOC)" - @(cd $(IMAGES)/svg ; make pdf) - @echo "Covers done." - @echo "" + @echo "" + @echo "Making covers for $(DOC)" + @(cd $(IMAGES)/svg ; make pdf) + @echo "Covers done." + @echo "" external-references: destdir - @echo " " - @echo "Building external references for $(DOC)" - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) - @rm -f $(PDF_DEST_DIR)/$(DOC).pdf - @echo "$(DOC) external references done." + @echo " " + @echo "Building external references for $(DOC)" + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) + @rm -f $(PDF_DEST_DIR)/$(DOC).pdf + @echo "$(DOC) external references done." pdftex: destdir - @echo "" - @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) - @echo "Done" + @echo "" + @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) + @echo "Done" web: mini-clean - @echo "Making web" - @rm -rf $(WWW_BUILD_DIR) - @mkdir -p $(WWW_BUILD_DIR) - @echo "Adapting $(DOC) tex files for HTML documentation..." - @(for F in $(TEXFILES) ;\ - do \ - cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ - done) - @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile - @(for F in $(WEBFILESTOLINK);\ - do \ - ln -sf $$F $(WWW_BUILD_DIR)/;\ - done) - (cd $(WWW_BUILD_DIR) ; make ) - @echo "Done making web" + @echo "Making web" + @rm -rf $(WWW_BUILD_DIR) + @mkdir -p $(WWW_BUILD_DIR) + @echo "Adapting $(DOC) tex files for HTML documentation..." + @(for F in $(TEXFILES) ;\ + do \ + cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ + done) + @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile + @(for F in $(WEBFILESTOLINK);\ + do \ + ln -sf $$F $(WWW_BUILD_DIR)/;\ + done) + (cd $(WWW_BUILD_DIR) ; make ) + @echo "Done making web" show: - evince $(PDF_DEST_DIR)/${DOC}.pdf + evince $(PDF_DEST_DIR)/${DOC}.pdf texcheck: - ./check_tex.pl ${DOC}.tex + ./check_tex.pl ${DOC}.tex main_configs: - pic2graph -density 100 main_configs.png + pic2graph -density 100 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 - @rm -rf ../www-$(DOC) + @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 + @rm -rf ../www-$(DOC) clean: - @rm -f graphicspolicy.tex - @rm -f 1 2 3 - @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 *.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 images.tex ${DOC}i.tex - @rm -f ${DOC}i-*.tex - @rm -rf $(WWW_BUILD_DIR) + @rm -f graphicspolicy.tex + @rm -f 1 2 3 + @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 *.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 images.tex ${DOC}i.tex + @rm -f ${DOC}i-*.tex + @rm -rf $(WWW_BUILD_DIR) distclean: clean - @rm -f ${DOC}.html ${DOC}.pdf - @rm -f Makefile version.tex - @rm -rf $(WWW_BUILD_DIR) - @rm -rf $(HTML_DEST_DIR) + @rm -f ${DOC}.html ${DOC}.pdf + @rm -rf $(WWW_BUILD_DIR) + @rm -rf $(HTML_DEST_DIR) diff --git a/docs/manuals/en/problems/Makefile b/docs/manuals/en/problems/Makefile index fc694ddf..136ea7f4 100644 --- a/docs/manuals/en/problems/Makefile +++ b/docs/manuals/en/problems/Makefile @@ -65,121 +65,120 @@ all: pdftex web mini-clean .DONTCARE: pdfimages: - @echo "Generating PDF images..." - @(cd ${IMAGES}/svg ; make pdf) - @echo "Done." + @echo "Generating PDF images..." + @(cd ${IMAGES}/svg ; make pdf) + @echo "Done." pngimages: - @echo "Generating PNG images..." - @(cd ${IMAGES}/svg ; make png) - @echo "Done." + @echo "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." epsimages: - @echo "Generating EPS images..." - @(cd ${IMAGES}/svg ; make eps) - @rm -rf ${IMAGES}/png - @rm -rf ${IMAGES}/pdf - @echo "Done." + @echo "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @rm -rf ${IMAGES}/png + @rm -rf ${IMAGES}/pdf + @echo "Done." epscovers: - @echo -n "Linking coverpage and background EPS format..." - @(cd $(SVGCOVERSDIR) ; make eps) - @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps - @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf - @echo "Done." + @echo -n "Linking coverpage and background EPS format..." + @(cd $(SVGCOVERSDIR) ; make eps) + @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps + @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf + @echo "Done." commonfiles: - @echo "Making version `cat version.tex`" - @echo -n "Linking shared files..." - @(for L in $(LICENCES); do ln -sf $$L .; done) - @echo "Done" + @echo "Making version `cat version.tex`" + @echo -n "Linking shared files..." + @(for L in $(LICENCES); do ln -sf $$L .; done) + @echo "Done" destdir: - @echo - @echo "Making output directories..." - @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) - echo "Output directories done" + @echo + @echo "Making output directories..." + @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) + echo "Output directories done" pdfcovers: - @echo "" - @echo "Making covers for $(DOC)" - @(cd $(IMAGES)/svg ; make pdf) - @echo "Covers done." - @echo "" + @echo "" + @echo "Making covers for $(DOC)" + @(cd $(IMAGES)/svg ; make pdf) + @echo "Covers done." + @echo "" external-references: destdir - @echo " " - @echo "Building external references for $(DOC)" - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) - @rm -f $(PDF_DEST_DIR)/$(DOC).pdf - @echo "$(DOC) external references done." + @echo " " + @echo "Building external references for $(DOC)" + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) + @rm -f $(PDF_DEST_DIR)/$(DOC).pdf + @echo "$(DOC) external references done." pdftex: destdir - @echo "" - @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) - @echo "Done" + @echo "" + @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) + @echo "Done" web: mini-clean - @echo "Making web" - @rm -rf $(WWW_BUILD_DIR) - @mkdir -p $(WWW_BUILD_DIR) - @echo "Adapting $(DOC) tex files for HTML documentation..." - @(for F in $(TEXFILES) ;\ - do \ - cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ - done) - @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile - @(for F in $(WEBFILESTOLINK);\ - do \ - ln -sf $$F $(WWW_BUILD_DIR)/;\ - done) - (cd $(WWW_BUILD_DIR) ; make ) - @echo "Done making web" + @echo "Making web" + @rm -rf $(WWW_BUILD_DIR) + @mkdir -p $(WWW_BUILD_DIR) + @echo "Adapting $(DOC) tex files for HTML documentation..." + @(for F in $(TEXFILES) ;\ + do \ + cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ + done) + @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile + @(for F in $(WEBFILESTOLINK);\ + do \ + ln -sf $$F $(WWW_BUILD_DIR)/;\ + done) + (cd $(WWW_BUILD_DIR) ; make ) + @echo "Done making web" show: - evince $(PDF_DEST_DIR)/${DOC}.pdf + evince $(PDF_DEST_DIR)/${DOC}.pdf texcheck: - ./check_tex.pl ${DOC}.tex + ./check_tex.pl ${DOC}.tex main_configs: - pic2graph -density 100 main_configs.png + pic2graph -density 100 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 - @rm -rf ../www-$(DOC) + @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 + @rm -rf ../www-$(DOC) clean: - @rm -f graphicspolicy.tex - @rm -f 1 2 3 - @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 *.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 images.tex ${DOC}i.tex - @rm -f ${DOC}i-*.tex - @rm -rf $(WWW_BUILD_DIR) + @rm -f graphicspolicy.tex + @rm -f 1 2 3 + @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 *.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 images.tex ${DOC}i.tex + @rm -f ${DOC}i-*.tex + @rm -rf $(WWW_BUILD_DIR) distclean: clean - @rm -f ${DOC}.html ${DOC}.pdf - @rm -f Makefile version.tex - @rm -rf $(WWW_BUILD_DIR) - @rm -rf $(HTML_DEST_DIR) + @rm -f ${DOC}.html ${DOC}.pdf + @rm -rf $(WWW_BUILD_DIR) + @rm -rf $(HTML_DEST_DIR) diff --git a/docs/manuals/en/utility/Makefile b/docs/manuals/en/utility/Makefile index 775d9a19..eeed29e2 100644 --- a/docs/manuals/en/utility/Makefile +++ b/docs/manuals/en/utility/Makefile @@ -66,121 +66,120 @@ all: pdftex web mini-clean destdir: - @echo - @echo "Making output directories..." - @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) - echo "Output directories done" + @echo + @echo "Making output directories..." + @mkdir -p $(PDF_DEST_DIR) $(HTML_DEST_DIR) + echo "Output directories done" pdfimages: - @echo "Generating PDF images..." - @(cd ${IMAGES}/svg ; make pdf) - @echo "Done." + @echo "Generating PDF images..." + @(cd ${IMAGES}/svg ; make pdf) + @echo "Done." pngimages: - @echo "Generating PNG images..." - @(cd ${IMAGES}/svg ; make png) - @echo "Done." + @echo "Generating PNG images..." + @(cd ${IMAGES}/svg ; make png) + @echo "Done." epsimages: - @echo "Generating EPS images..." - @(cd ${IMAGES}/svg ; make eps) - @rm -rf ${IMAGES}/png - @rm -rf ${IMAGES}/pdf - @echo "Done." + @echo "Generating EPS images..." + @(cd ${IMAGES}/svg ; make eps) + @rm -rf ${IMAGES}/png + @rm -rf ${IMAGES}/pdf + @echo "Done." epscovers: - @echo -n "Linking coverpage and background EPS format..." - @(cd $(SVGCOVERSDIR) ; make eps) - @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps - @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf - @echo "Done." + @echo -n "Linking coverpage and background EPS format..." + @(cd $(SVGCOVERSDIR) ; make eps) + @ln -sf `pwd`/${EPSCOVERSDIR}/${COVERNAME}.eps `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.eps + @rm -f `pwd`/${BSYSMANUALDIR}/${BSYSMANNAME}.pdf + @echo "Done." commonfiles: - @echo -n "Making version `cat version.tex`" - @echo -n "Linking shared files..." - @(for L in $(LICENCES); do ln -sf $$L .; done) - @echo "Done" + @echo -n "Making version `cat version.tex`" + @echo -n "Linking shared files..." + @(for L in $(LICENCES); do ln -sf $$L .; done) + @echo "Done" pdfcovers: - @echo "" - @echo "Making covers for $(DOC)" - @(cd $(IMAGES)/svg ; make pdf) - @echo "Covers done." - @echo "" + @echo "" + @echo "Making covers for $(DOC)" + @(cd $(IMAGES)/svg ; make pdf) + @echo "Covers done." + @echo "" external-references: destdir - @echo " " - @echo "Building external references for $(DOC)" - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) - @rm -f $(PDF_DEST_DIR)/$(DOC).pdf - @echo "$(DOC) external references done." + @echo " " + @echo "Building external references for $(DOC)" + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC) + @rm -f $(PDF_DEST_DIR)/$(DOC).pdf + @echo "$(DOC) external references done." pdftex: destdir - @echo "" - @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." - @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex - @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) - @echo "Done" + @echo "" + @echo "Making PDF manual with $(LATEX_TO_PDF)compile..." + @echo "\DeclareGraphicsExtensions{.pdf,.png,.jpg,.jpeg,.eps}\n" > graphicspolicy.tex + @export TEXINPUTS=.:../../../latex//: ; $(LATEX_TO_PDF) $(DOC); makeindex ${DOC}.idx -o ${DOC}.ind 2>/dev/null ; $(LATEX_TO_PDF) $(DOC); $(LATEX_TO_PDF) $(DOC) + @echo "Done" web: mini-clean - @echo "Making web" - @rm -rf $(WWW_BUILD_DIR) - @mkdir -p $(WWW_BUILD_DIR) - @echo "Adapting $(DOC) tex files for HTML documentation..." - @(for F in $(TEXFILES) ;\ - do \ - cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ - done) - @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile - @(for F in $(WEBFILESTOLINK);\ - do \ - ln -sf $$F $(WWW_BUILD_DIR)/;\ - done) - (cd $(WWW_BUILD_DIR) ; make ) - @echo "Done making web" + @echo "Making web" + @rm -rf $(WWW_BUILD_DIR) + @mkdir -p $(WWW_BUILD_DIR) + @echo "Adapting $(DOC) tex files for HTML documentation..." + @(for F in $(TEXFILES) ;\ + do \ + cat $$F | sed -f ../pattern-to-handle > $(WWW_BUILD_DIR)/$$F ; \ + done) + @ln -sf $(MAKEFORWEB) $(WWW_BUILD_DIR)/Makefile + @(for F in $(WEBFILESTOLINK);\ + do \ + ln -sf $$F $(WWW_BUILD_DIR)/;\ + done) + (cd $(WWW_BUILD_DIR) ; make ) + @echo "Done making web" show: - evince $(PDF_DEST_DIR)/${DOC}.pdf + evince $(PDF_DEST_DIR)/${DOC}.pdf texcheck: - ./check_tex.pl ${DOC}.tex + ./check_tex.pl ${DOC}.tex main_configs: - pic2graph -density 100 main_configs.png + pic2graph -density 100 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 - @rm -rf ../www-$(DOC) + @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 + @rm -rf ../www-$(DOC) clean: - @rm -f graphicspolicy.tex - @rm -f 1 2 3 - @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 *.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 images.tex ${DOC}i.tex - @rm -f ${DOC}i-*.tex - @rm -rf $(WWW_BUILD_DIR) + @rm -f graphicspolicy.tex + @rm -f 1 2 3 + @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 *.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 images.tex ${DOC}i.tex + @rm -f ${DOC}i-*.tex + @rm -rf $(WWW_BUILD_DIR) distclean: clean - @rm -f ${DOC}.html ${DOC}.pdf - @rm -f Makefile version.tex - @rm -rf $(WWW_BUILD_DIR) - @rm -rf $(HTML_DEST_DIR) + @rm -f ${DOC}.html ${DOC}.pdf + @rm -rf $(WWW_BUILD_DIR) + @rm -rf $(HTML_DEST_DIR) -- 2.39.5