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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -