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

Build: fix Makefile to work on systems without which(1) #416

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Apr 1, 2024

Replace the use of third-party which(1) executable with the shell command -v builtin. This avoids unnecessary dependency on a third-party executable, in favor of a shell builtin that is guaranteed by POSIX, and therefore fixes building documentation on systems that no longer installs which(1) by default, such as Gentoo Linux.

Replace the use of third-party `which(1)` executable with the shell
`command -v` builtin.  This avoids unnecessary dependency
on a third-party executable, in favor of a shell builtin that is
guaranteed by POSIX, and therefore fixes building documentation
on systems that no longer installs `which(1)` by default,
such as Gentoo Linux.
@scoder
Copy link
Member

scoder commented Apr 1, 2024

Thanks. Probably ok, but I'm still triggering a fresh build to make sure everything builds.

@scoder scoder closed this Apr 1, 2024
@scoder scoder reopened this Apr 1, 2024
@scoder scoder merged commit 24dafd3 into lxml:master Apr 1, 2024
167 of 316 checks passed
@scoder
Copy link
Member

scoder commented Apr 1, 2024

I'll add this to 5.2.1.

@mgorny
Copy link
Contributor Author

mgorny commented Apr 2, 2024

Thanks a lot!

@mgorny mgorny deleted the no-which branch April 2, 2024 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants