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.build: don't regenerate readme at build time #222

Closed
wants to merge 1 commit into from
Closed

meson.build: don't regenerate readme at build time #222

wants to merge 1 commit into from

Conversation

cinerea0
Copy link

The current setup involves manually extracting the help output of the built programs at build time to keep the README up to date. I discovered this is a bit fragile and breaks on crossbuilds, and would recommend having this as a CI target instead

@Siborgium
Copy link
Collaborator

manually extracting the help output of the built programs

Well, this part is done by script. The only manual part is the one where you copy the file from build dir to source root. Nevertheless, I agree it can be a problem, but I think it's worth having. How about we hide it behind a disabled-by-default meson option?

@eli-schwartz
Copy link

The only manual part is the one where you copy the file from build dir to source root. Nevertheless, I agree it can be a problem, but I think it's worth having. How about we hide it behind a disabled-by-default meson option?

I would say this is still probably wrong. Why not instead make it a meson test target, conditional on meson.can_run_host_binaries()?

@Siborgium
Copy link
Collaborator

It's actually a good idea, although I'd prefer to make it a named target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants