Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Use a generated depfile for gi-docgen #753

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

aperezdc
Copy link
Member

Convert the output from gi-docgen gen-deps, which is a list of files ingested to generate the documentation, into a format suitable to be read by Ninja (a Make snippet), and use it as the depfile for the documentation custom target. The transformation is done using a small Python script, which does not introduce any new dependency because gi-docgen itself already required Python to be present.

Convert the output from "gi-docgen gen-deps", which is a list of files
ingested to generate the documentation, into a format suitable to be
read by Ninja (a Make snippet), and use it as the "depfile" for the
documentation custom target. The transformation is done using a small
Python script, which does not introduce any new dependency because
gi-docgen itself already required Python to be present.
@aperezdc aperezdc added the enhancement New feature or request label Feb 12, 2025
@aperezdc aperezdc self-assigned this Feb 12, 2025
@aperezdc aperezdc merged commit f1435a2 into master Feb 13, 2025
5 checks passed
@aperezdc aperezdc deleted the aperezdc/gi-docgen-depfile branch February 13, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants