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

Use autotools (autoconf, automake) to build keyd #831

Closed
wants to merge 17 commits into from

Conversation

rhansen
Copy link
Contributor

@rhansen rhansen commented Sep 10, 2024

This makes it easier for downstream distributions to package keyd.

Also add a GitHub workflow to run the tests, check the distribution tarball, and upload the distribution tarball as an artifact whenever a PR is opened or a new revision is pushed to the repository.

This PR is marked as a draft because it depends on #642, #674, and #675 which have not yet been merged. Once those are merged I will rebase this and mark it as ready for review.

This is more likely to match user systems.
This makes it easier to build inside a chroot jail, for example.
The `-f` option causes `rm` to silently ignore files that don't exist,
so `rm -rf` will only fail if `rm` has trouble deleting a file that
exists.  We want `make` to fail in that situation.
We want `make` to fail if the directory doesn't exist and can't be
made for some reason.
rhansen added a commit to keyd-project/keyd-fork that referenced this pull request Dec 6, 2024
@rhansen
Copy link
Contributor Author

rhansen commented Dec 6, 2024

@rhansen rhansen force-pushed the autotools branch 2 times, most recently from 343efe2 to ce7734e Compare December 18, 2024 02:51
rhansen added a commit to keyd-project/keyd-fork that referenced this pull request Dec 18, 2024
rhansen added a commit to keyd-project/keyd-fork that referenced this pull request Dec 18, 2024
@rvaiya
Copy link
Owner

rvaiya commented Dec 18, 2024

I am not interested adding a bunch of dependencies to the build system. The project has almost no dependencies and does not require anything other than a simple make file. Autotools adds no value and was avoided by design.

@rvaiya rvaiya closed this Dec 18, 2024
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.

2 participants