by Eduardo San Martin Morote aka Posva http://posva.net/
If you have python3 you should use this version instead: https://github.com/posva/configure.py
The main purpose of this script is to generate Makefiles
as CMake does but being way more simple and therefore designed for more simple projects. You should use this script for C/C++ projects but it can be adapted to almost any other language.
The scripts checks for any dos
file and convert it to unix
(It changes the character used in each eol) if the option -a is used. Otherwise the script won't be able to run due to grep
and some of the regexp. I just think that having dos
eol is ugly and everybody should use unix
eol.
To check the help pass the -h option to the script.
Why do I get \e[00;33
everywhere?
The bash version in /bin/bash isn't the right one, symlink a newer one (like 5.0
). Use Homebrew to install it
on Mac. Linux shouldn't have any issue :)
The script is distributed under the GNU v3 License.