PDA

View Full Version : I made a compile script



collinp
July 16th, 2008, 04:28 AM
Ok, I don't know if this is the right place to put this, or if this has been done before (im sure it has), but I made a script to automatically compile and install anything that uses standerd compile/install commands (./configure, make, make install). So if you get tired of manually compiling everything, here is your solution.

LaRoza
July 16th, 2008, 04:30 AM
There is a bug ;)

This will ensure it won't go to the next command if there is an error on a previous one.

Of course, it could be made more useful with more options.



./configure && make && sudo make install && echo "Compile finished"

collinp
July 16th, 2008, 04:31 AM
Heh, im pretty new to scripting, so thanks, ill correct it.

EDIT: fixed it