-
Notifications
You must be signed in to change notification settings - Fork 133
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
Couple of compile fixes and DESTDIR support #76
Conversation
…so they take effect
Thank you for taking the time to contribute. If you don't mind, I have a few notes and questions regarding your changes. 7978bb7 - Makefile: Put compiler parameters in front of variable declarations, so they take effect 671c61e - Makefile: Add support for DESTDIR 3b588f6 - Makefile: Reordered variable declarations to be in a nicer order fdcde0b - Makefile: Fixed overrides for compiler parameters 45ff574 - Makefile: Fixed duplicate installation of files 554339b - plugins Makefile: Fixed path to libpe ae178e5 - Makefile: Fixed binaries not getting installed and changed bindir to /usr/bin/ a141faf - Makefile: Changed bindir to /usr/bin I'll cherry-pick the 2 commits that are currently ok, and we can try to fine tune others if you are seeing any problems that they presumably fix. If you disagree with any point I raised, please, don't hesistate in replying here. Will try to do this during the weekend - can't guarantee though. |
Hello, 7978bb7 - Makefile ae178e5
You see, that it errors out like this (With another base path for you) Hence, you should use most if not all of the commits that relate to DESTDIR. 554339b I'm sorry for the sometimes weird commits. I think this is all to blame for me Regards, |
You're right about DESTDIR not working correctly. I must haven't tested it in a while. I merged and pushed those 2 commits that were already ok. Thanks! I also attempted to fix the remaining problems related to DESTDIR in 45ca201. Please, would you mind pulling to a new local branch and test whether it's working or not? |
Hello, I looked over the file and see that it can't work correctly. Regards, |
Ok. I have some doubts about it, but I reverted my changes and merged your commit 671c61e. Please, would you take a look again? |
Yes, it's working correctly now. |
@Thermi I believe the commit I reverted was correct though. What we did now doesn't seem to respect the GNU Coding Standards: DESTDIR. Would you take a look and tell me your opinion? |
Hello, Not even the coreutils handle DESTDIR according to the document you linked. Regards, |
What version of coreutils are you referring to? |
Hello, yes you are right. If you only use DESTDIR and don't specify prefix, it works as advised by the guide. However, that isn't the behaviour people usually want, so they specify prefix=/usr/ and sysconfigdir=/etc. That makes "make install" copy the files into the desired directory structure. |
Hello,
I fixed a couple of issues I encountered while compiling pev, as well as added support for the DESTDIR parameter.
Regards,
Thermi