MantisBT - CMake
View Issue Details
0015545CMakeCMakepublic2015-04-29 17:242015-11-02 09:15
Felix Geyer 
Brad King 
normalfeaturehave not tried
closedfixed 
 
CMake 3.3CMake 3.3 
0015545: Add support for passing sphinx options
I would like to be able to pass additional options to sphinx (Utilities/Sphinx/CMakeLists.txt).

This could be done by an additional --sphinx-opts="..." flag to bootstrap or by making it read the SPHINXOPTS env variable (which apparently some other build systems use).

If you'd accept one of those ways I'll write a patch.


Reason for this:
In Debian we are trying to create reproducible package builds.
This means building a package twice (with exactly the same toolchain) should produce the same bit-identical files.

Unfortunately sphinx embeds the current date in manpages it generates.
The idea to fix this is to pass the date of the last package changelog entry to sphinx.

Some background if you are interested:
https://wiki.debian.org/ReproducibleBuilds/About [^]
https://wiki.debian.org/ReproducibleBuilds/TimestampsInManpagesGeneratedBySphinx [^]
No tags attached.
Issue History
2015-04-29 17:24Felix GeyerNew Issue
2015-04-30 09:54Brad KingNote Added: 0038656
2015-04-30 09:54Brad KingAssigned To => Brad King
2015-04-30 09:54Brad KingStatusnew => resolved
2015-04-30 09:54Brad KingResolutionopen => fixed
2015-04-30 09:54Brad KingFixed in Version => CMake 3.3
2015-04-30 09:54Brad KingTarget Version => CMake 3.3
2015-05-01 15:37Felix GeyerNote Added: 0038677
2015-11-02 09:15Robert MaynardNote Added: 0039800
2015-11-02 09:15Robert MaynardStatusresolved => closed

Notes
(0038656)
Brad King   
2015-04-30 09:54   
Good idea. Please try out this change:

 Add option to pass custom flags to sphinx-build
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dd107b30 [^]
(0038677)
Felix Geyer   
2015-05-01 15:37   
Awesome, thanks!
(0039800)
Robert Maynard   
2015-11-02 09:15   
Closing resolved issues that have not been updated in more than 4 months.