[Libreoffice-commits] core.git: solenv/bin
Chris Sherlock
chris.sherlock79 at gmail.com
Thu Jan 7 14:59:24 PST 2016
solenv/bin/mkdocs.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit cfcef8c99908a781c1d5b4153f4fa9fca69d4351
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Fri Jan 8 09:55:38 2016 +1100
solenv: allow mkdocs.sh to index selected modules only
I've added a test of the environment variable $INPUT_PROJECTS, if this exists
then use the list of modules specified. If it doesn't exist then the script
runs as normal and processes all modules.
Change-Id: Ibafb826fa20a56d921e5ffacb0f5101ed936ae55
diff --git a/solenv/bin/mkdocs.sh b/solenv/bin/mkdocs.sh
index 24aeee4..db3c7eb 100755
--- a/solenv/bin/mkdocs.sh
+++ b/solenv/bin/mkdocs.sh
@@ -115,7 +115,9 @@ shopt -s nullglob
DOXYGEN_PROJECT_PREFIX="LibreOffice"
# get list of modules
-INPUT_PROJECTS="`ls */Module_*.mk | sed 's#/.*##'`"
+if [ -z "$INPUT_PROJECTS" ]; then
+ INPUT_PROJECTS="`ls */Module_*.mk | sed 's#/.*##'`"
+fi
# output directory for generated documentation
BASE_OUTPUT="$1"
More information about the Libreoffice-commits
mailing list