mesonbuild / mesonbuild/meson

gtkdoc rules do not depend on dependencies

Open
#2,148 1 comment 0 reactions 0 assignees View on GitHub
bug dependencies gnome
Dominant language
Python
Stars
6.6k
Forks
1.9k
Avg merge
2d 6h
Merged PRs (30d)
33

Description

`gnome.gtkdoc` accepts a `dependencies` keyword, but doesn't add those dependencies to the Ninja build rule. This means you need to remember to (re)build any targets needed before running any `-doc` targets.

Unfortunately, `gtkdoc` accepts internal and external dependencies, but custom targets don't seem to like those, so this is more complicated than I hoped to work on right now.

Contributor guide

Open the contributing guide

Research direction

Start at the gnome.gtkdoc entry point and inspect how its dependencies are represented in the Ninja build rule, including the handling of internal and external dependencies for custom targets. Done means -doc targets trigger their declared dependencies without requiring a separate manual rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.