c - Determine the most appropriate install location using the $PATH variable -


How can I execute the normal user program so that I have the most appropriate installation place for my program from the $ PATH variable set in my makefile? Or any other method, because all systems are different, there can not be a stable price at every makefile at all.

For me, the first value is / usr / sbin - maybe / usr / local / bin?

Do not guess. You get it wrong.

Use / usr / local and override it to the user at install time.

To see the standard GNU Make variable to use for it.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -