Skip to content
New issue

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

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

Already on GitHub? # to your account

daemon/Makefile: improvements to make distro packaging easier #780

Merged

Conversation

craftyguy
Copy link
Contributor

This is a handful of improvements to the daemon/Makefile that make it easier to package opensnitch on other distros. make's DESTDIR and PREFIX are widely used, and install is a very common way to handle installing/copying files/dirs to a location.

This might add some new dependency on install if some distro / environment doesn't include it, but it's a part of coreutils and busybox has a module for it... so it's likely everywhere already.

This is helpful for package maintainers who need to install components
into specific locations for building packages of this project.

example:
$ make \
    PREFIX=/usr \
    DESTDIR=/some/package/dir \
    SYSCONFDIR=/foo/etc \
    install
@gustavo-iniguez-goya gustavo-iniguez-goya merged commit 8f49816 into evilsocket:master Dec 21, 2022
@gustavo-iniguez-goya
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants