-
Notifications
You must be signed in to change notification settings - Fork 13
makefile: respect PREFIX, LIBDIR and DESTDIR #9
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
Conversation
This allows distributions to properly build packages. Signed-off-by: Filipe Laíns <lains@archlinux.org>
|
This is a breaking change, so I'm not sure about this. ZNC is most likely to be installed in /usr/bin. I actually wrote the makefile for personal convenience. I'm not sure it should be in version control. Perhaps use Probably this isn't the first third-party ZNC module packaged for Arch. What do other packages do? |
|
ZNC will be installed in If that is the case you should install the plugins via your package manager. You can always just change Perhaps we could make this clear in the readme? Yes, this is the first packaged ZNC module. |
|
Running znc-buildmod directly is fine, but having the makefile doesn't really hurt, it makes things easier. |
Yes, I think this is the most likely scenario from the point of view of someone running this makefile - install the distribution-provided ZNC package, and then additional third-party modules from source using
Maybe we can detect the prefix where ZNC (or znc-buildmod) is installed? Or, alternatively, it would be great if we could make the makefile fail if the My concern is that, with this change, running What do you think?
Considering the Makefile was a "non-stardard" addition and znc-bulidmod is the expected way to build a ZNC module, I think using the latter would set a more universal precedent. |
|
We can run |
|
Yes, excellent idea! |
Suggested-by: Filipe Laíns <lains@archlinux.org>
|
Does this look OK to you? |
|
Sorry, had to hop on a quick call. Yes, it looks good. |
|
Thanks! And also for packaging :) |
|
Tagged |
This allows distributions to properly build packages.
Signed-off-by: Filipe Laíns lains@archlinux.org