From 3a449c94d389f35cd33a6b5a8e39ca3fbe5096f5 Mon Sep 17 00:00:00 2001 From: Philippe Chauvat Date: Fri, 25 Oct 2013 15:09:33 +0200 Subject: [PATCH] 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. --- docs/Makefile.in | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) 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 " " -- 2.39.5