To no avail I try to compile code to a certain distination.
How to compile a server application to a certain destination ( has only Makefile ) ?
Tried:
make DESTDIR=/opt/mydeamon
But this fails
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make itself has no standard way of doing installations. If the installation is done using a Makefile it is up to the Makefile author to write rules for how make should do it.
But a common way it to provide a
make installtarget and i think a common variable for specifying installation path isPREFIX.Your should probably read some README or INSTALL file or even check the Makefile file for instructions if this is a source package that you have downloaded somewhere.