From: Philippe Chauvat Date: Fri, 25 Oct 2013 13:09:33 +0000 (+0200) Subject: This modification is designed to separate HTML and PDF documentation. make html-manua... X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a449c94d389f35cd33a6b5a8e39ca3fbe5096f5;p=bacula%2Fdocs This modification is designed to separate HTML and PDF documentation. make html-manuals will build only the HTML manuals make pdf-manuals will build only the PDF versions. --- diff --git a/docs/Makefile.in b/docs/Makefile.in index cff07360..d0d6ac30 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -38,7 +38,14 @@ DIST = Makefile.in en: all -all: templates external-references +all: pdf-manuals html-manuals + @echo "" + @echo "All manuals built ..." + @echo "" + @echo "" + @echo "" + +pdf-manuals: templates external-references @echo " " @echo "Generating PDF manuals..." @for I in ${en_dirs}; \ @@ -46,17 +53,29 @@ all: templates external-references $(MAKE) pdflatex || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ echo ""; echo ""; exit 1;)); \ done + @echo "" + @echo "All PDF manuals built ..." + @echo "" + @echo "" + @echo "" + +html-manuals: templates external-references + @echo " " + @echo "Creating Web documentation..." @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 "Remove links ..." find . -type l -exec rm {} \; - @echo "All manuals built ..." + @echo "" + @echo "All HTML manuals built ..." + @echo "" + @echo "" + @echo "" + templates: @echo " "