From cfcef8c99908a781c1d5b4153f4fa9fca69d4351 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Fri, 8 Jan 2016 09:55:38 +1100 Subject: 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 --- solenv/bin/mkdocs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'solenv') diff --git a/solenv/bin/mkdocs.sh b/solenv/bin/mkdocs.sh index 24aeee4400d2..db3c7eb2418f 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" -- cgit