Answer the question
In order to leave comments, you need to log in
How to set up make install for a project?
There is a project, I created a make file using the autotools utility. everything turned out except for the make install setting. when you enter this command, it installs only the executable file in the desired directory. but there should still be additional folders with configs and pictures. how to make it pick them up too and install along with the binary? Googled a lot but didn't find what I needed.
Answer the question
In order to leave comments, you need to log in
created a makefile using the autotools utility. everything turned out except for the make install setting.
install-data-local
.
If the project is in c++, then it's better to use cmake and configure the installation settings in it. And it will generate the necessary makefile.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question