summaryrefslogtreecommitdiffstats
path: root/site_scons/BuildCommandLine.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2024-04-02 16:48:01 (GMT)
committerMats Wichmann <mats@linux.com>2024-04-02 16:48:01 (GMT)
commit0ebf8857e5ef844c7902bfa368159de8f41de5cd (patch)
treefee778b7ff1692cf2ff0741fcd90448c82b651e0 /site_scons/BuildCommandLine.py
parent6364bcd61479821b685792b31f6883b712208294 (diff)
downloadSCons-0ebf8857e5ef844c7902bfa368159de8f41de5cd.zip
SCons-0ebf8857e5ef844c7902bfa368159de8f41de5cd.tar.gz
SCons-0ebf8857e5ef844c7902bfa368159de8f41de5cd.tar.bz2
Extend pdf-skipping to man and user builds.
An earlier change extended SKIP_DOC as a CLI argument at the top level to allow granularity - can specify pdf and/or api to skip those. Skipping the pdf build didn't entirely work, as the build re-invokes SCons which is then a fresh context. That information is now passed on the command line to those two builds, and if invokved directly (as Debian packaging does), SKIP_PDF=1 can be added on the command line. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'site_scons/BuildCommandLine.py')
-rw-r--r--site_scons/BuildCommandLine.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/site_scons/BuildCommandLine.py b/site_scons/BuildCommandLine.py
index 32e62f3..5d00f6e 100644
--- a/site_scons/BuildCommandLine.py
+++ b/site_scons/BuildCommandLine.py
@@ -79,6 +79,7 @@ class BuildCommandLine:
"SKIP_DOC=",
"Skip building documents. The value can be 'pdf', 'api', "
"''all' or 'none'. A comma-separated list is also allowed. "
+ "Do not set this for an official release build. "
"The default is 'none' (build all docs)"
),
]