summaryrefslogtreecommitdiffstats
path: root/site_scons/BuildCommandLine.py
Commit message (Collapse)AuthorAgeFilesLines
* Extend pdf-skipping to man and user builds.Mats Wichmann2024-04-021-0/+1
| | | | | | | | | | | 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>
* Give more control to docs build [skip appveyor]Mats Wichmann2024-03-171-1/+3
| | | | | | | | | | | | | | | | | | The documentation build can now selectively disable doing the APIdocs build (which is slow, and requires Sphinx and some extensions to be installed); and skip building pdf versions of docs (which requires fop or equivalent to be installed). Both can be disabled by using a csv: scons doc SKIP_DOCS=pdf,api TODO: pdf disabling is only partly working. It does not build the pdf version of the api docs, but does build pdf manpages and user guide. The latter are not "installed": there is no build/doc/PDF, but there are pdfs in the build directory, build/doc/man and build/doc/user. This is part two of the doc build change (begun in #4492) Signed-off-by: Mats Wichmann <mats@linux.com>
* Cleanup the SCons build a bitMats Wichmann2023-07-191-50/+103
| | | | | | | | | | | | | | | | | | | | | | * Removes the old bootstrap.py file. The still-used manifest parser is moved inline into doc/SConscript * Some reformatting and license text updates, as well as fstringinfying. * Help text is modified, adding the recent zipapp option, and indent changes let more stuff fit on the screen. * Aliases added for most of the build targets listed in the help msg. The ones now listed all work when given as cli targets, except the the two full source balls: scons: *** Do not know how to make File target `src-tar-gz' (/home/mats/github/scons/src-tar-gz). Stop. scons: *** Do not know how to make File target `src-zip' (/home/mats/github/scons/src-zip). Stop. Should these two be removed from the listing? I think we get the former directly from github, and the latter hasn't been around for a while. Fixes #4341 Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when ↵William Deegan2021-08-021-1/+1
| | | | set. Fix version tests to work with updated scons --version output. (Date format changed)
* fix doc release date to be the same as the format in CHANGES.txt,etcWilliam Deegan2021-07-181-1/+14
|
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-1/+1
| | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* Address github review notes and sider issuesWilliam Deegan2020-04-111-3/+6
|
* First pass of refactor. Moved command line argument processing into ↵William Deegan2020-04-091-0/+144
site_scons/BuildCommandLine.py. Sorted out all changes caused by that.