"Performs installation", by agreement, updates the established goals?

Typically, you invoke the following commands to create product ./configured:

make
make install

Ok, now the product is in the system. Then you change some source code files and only call make install. The question is, does the usual implementation of the goal require installthat the executable files be recompiled, or only the old ones should be copied to the corresponding system path?

+3
source share
3 answers

It depends on what you are used to, of course. Here is the GNU convention :


, .. , .

: make install .

+3

make , .

make helloworld. , install, helloworld /usr/bin.

, helloworld, , helloworld , . Thous, make install, make ( ).

+3

, make install ( all), , .

. all , . , , . , , make install root.

This means that technically the step make make; make installis redundant.

+2
source

Source: https://habr.com/ru/post/1738643/


All Articles