summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Exclude .md5 and .map doxygen files from installJulian Andres Klode2016-08-111-1/+4
| | | | | | This is much better than removing them in debian/rules. Gbp-Dch: ignore
* CMake: Mark Doxygen as required and use DOXYGEN_EXECUTABLEJulian Andres Klode2016-08-111-2/+2
| | | | | | Seems like I missed that when adding doxygen support. Gbp-Dch: ignore
* CMake: Rewrite existing Documentation support and add doxygenJulian Andres Klode2016-08-101-11/+75
| | | | | | | | | | | | | | | | | | | | | | | | This can now build all documentation. It should also be fairly reusable for other projects, as long as they follow the same naming scheme for the po4a output files and set the PACKAGE_* variables used here. We could have done all translations in a single call to po4a like the makefile based buildsystem does. While that would have made the output slightly nicer, this solution offers a huge performance gain because it can translate the documents in parallel, which also means that the xsltproc stage does not have to wait for all translations to be done first. You might think that the add_custom_command() should list the actual output files as BYPRODUCTS. This is not true however: Because the files are not always generated, Ninja will think missing byproducts mean that the target is out of date - which is not what we want. Finally, also add the missing doxygen support. Note that the packaging script cleans up some md5 and map files created by doxygen, otherwise it is fairly boring.
* CMake: Add initial support for documentation buildingJulian Andres Klode2016-08-061-0/+21
Build HTML docbook guides (untranslated) and manual pages (including translations). Also install the examples in the example subdirectory. Translation of docbook guides has not been implemented yet, but should be easy to do. The code also needs some cleanup to automatically detect the available translations.