aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/hotdoc.py
AgeCommit message (Collapse)AuthorFilesLines
2021-05-12gnome: Fix gtkdoc generationXavier Claessens1-2/+1
install_scripts used to replace @BUILD_ROOT@ and @SOURCE_ROOT@ but it was not documented and got removed in Meson 0.58.0. gnome.gtkdoc() was relying on that behaviour, but it has always been broken in the case the source or build directory contains spaces. Fix this by changing get_include_args() to substitue paths directly which will then get escaped correctly. Add a unit test that builds GObject documentation which is where this issue has been spotted. Fixes: #8744
2021-03-19split program related classes and functions out of dependenciesDylan Baker1-1/+2
Dependencies is already a large and complicated package without adding programs to the list. This also allows us to untangle a bit of spaghetti that we have.
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz1-3/+3
performed by running "pyupgrade --py36-plus" and committing the results
2021-01-30Fix executable as script on WindowsXavier Claessens1-6/+1
On Windows this would fail because of missing DLL: ``` mylib = library(...) exe = executable(..., link_with: mylib) meson.add_install_script(exe) ``` The reason is on Windows we cannot rely on rpath to find libraries from build directory, they are searched in $PATH. We already have all that mechanism in place for custom_target() using ExecutableSerialisation class, so reuse it for install/dist/postconf scripts too. This has bonus side effect to also use exe_wrapper for those scripts. Fixes: #8187
2021-01-13Fix misspellsAntonin Décimo1-2/+2
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
2021-01-04Use a single coredata dictionary for optionsDylan Baker1-1/+1
This patches takes the options work to it's logical conclusion: A single flat dictionary of OptionKey: UserOptions. This allows us to simplify a large number of cases, as we don't need to check if an option is in this dict or that one (or any of 5 or 6, actually).
2020-03-24Make werror per subproject optionXavier Claessens1-1/+1
2019-11-11hotdoc: work around argparse syntax ambiguityMathieu Duponchelle1-3/+19
Fixes #5800
2019-04-24hotdoc: Handle werrorThibault Saunier1-0/+3
2019-04-24hotdoc: Take into account boolean value to pass flag like argumentsThibault Saunier1-1/+2
2019-03-10hotdoc: Set gi-c-source-rootThibault Saunier1-0/+14
The same way as we set '--sources-top-dirs' for gi
2018-11-15hotdoc: Fix has_extensions when several extensions are passed inThibault Saunier1-1/+1
2018-09-23hotdoc: Add support for {Build,Custom}Target as sourcesThibault Saunier1-3/+7
2018-09-10hotdoc: Make project_version mandatory as it should always have beenThibault Saunier1-0/+1
2018-09-10hotdoc: Handle IncludeDirs to specify directoriesThibault Saunier1-2/+12
2018-08-28docs: Use meson to build documentationThibault Saunier1-5/+1
Let's eat our own dogfood.
2018-08-28modules: Add an 'hotdoc' moduleThibault Saunier1-0/+390
hotdoc: http://github.com/hotdoc/hotdoc/