Article 5S4HY How does 'make install' work?

How does 'make install' work?

by
fabulousUnicorn
from LinuxQuestions.org on (#5S4HY)
I have a number of rather odd questions about the 'make install' command.

1) What utility does it use to install the files to their final location on the system? Does it use 'cp', 'mv, 'install' or something else?

2) What happens if it is installing a file to the system, and a that file already exists on the system?

3) What if the file already exists on the system, and that file is currently being read or written to by another program?

Thank you for any replies. I am writing a set of python scripts to help manage my packages on an LFS installation I am doing. I want a deeper understanding of the 'make install' tool to help guide my design decisions for these scripts. This is my first question on this forum, so if I have done anything incorrectly, let me know.latest?d=yIl2AUoC8zA latest?i=rh1KLa6ltfI:QOHeyxr8pxI:F7zBnMy latest?i=rh1KLa6ltfI:QOHeyxr8pxI:V_sGLiP latest?d=qj6IDK7rITs latest?i=rh1KLa6ltfI:QOHeyxr8pxI:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments