3 Commits

Author SHA1 Message Date
elextr
1b38513976
Switch to Python 3 for GTK doc header generation (#2903)
Use python3 whenever possible. Python 2 is EOL and the python binary might not be installed.

This obsoletes a Debian patch applied to their package.

Co-authored-by: Enrico Tröger <enrico.troeger@uvena.de>
2022-02-06 22:05:47 +01:00
Colomban Wendling
78c6a2ad6d Fix check for GtkDoc header generation dependencies
The checks itself were correct, but the logic for the final decision
didn't properly handle `--enable-gtkdoc-header=auto`, which also
happens to be the default.

Also fix hiding error messages from Python when trying to import the
`lxml` module to see whether it's available or not.

Closes #929.
2016-03-03 14:49:37 +01:00
Colomban Wendling
e9e2ddf581 Add an option to control GtkDoc header generation
This allows explicit activation or deactivation of the GtkDoc header
generation.

This might allow to e.g. force enable it on distcheck.
2016-02-18 22:51:30 +01:00