每次从源代码编译一些东西,都要经历相同的3个步骤:
$ ./configure
$ make
$ make install
I understand, that it makes sense to divide the installing process into different steps, but I don't get it, why each and every coder on this planet has to write the same three commands again and again just to get one single job done. From my point of view it would make totally sense to have a ./install.sh
script automatically delivered with the source code which contains the following text:
#!/bin/sh
./configure
make
make install
为什么人们要分开做这三个步骤?