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

Be more specific in the packages we suggest for installation #491

Conversation

paulo-ferraz-oliveira
Copy link
Contributor

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Nov 9, 2023

Description

Only suggest automake and autoconf when KERL_BUILD_BACKEND is git.

Closes #249.

Further considerations

This is at the cost of a bit more maintenance, though most likely the software lists aren't bound to change much any time soon.

kerl Outdated
_KPP_rhel_probe="_rpm"

_KPP_ubuntu_pkgs="libssl-dev make automake autoconf libncurses5-dev gcc g++"
_KPP_ubuntu_pkgs="libssl-dev make libncurses5-dev gcc g++"
if [ "$KERL_BUILD_BACKEND" = 'git' ]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like this could be a common check for all linux flavors?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I thought about it. We could do the same exercise for other packages, but then I thought "We decided to keep them separate before, so...". I don't mind separating them, but, in that case, I'll try to aggregate as much of the common stuff as possible.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it makes sense to collapse common things into a common code path

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulo-ferraz-oliveira paulo-ferraz-oliveira merged commit f37e2fe into kerl:master Nov 11, 2023
9 checks passed
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the fix/message-for-automake_autoconf branch November 11, 2023 22:11
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.

automake and autoconf only required when git is the build backend
2 participants