Repo initialisation
This commit is contained in:
commit
6a89d1f5df
14 changed files with 586 additions and 0 deletions
22
bootstrap
Executable file
22
bootstrap
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
autoreconf -fvi
|
||||
|
||||
if [ ! -z "$1" ]; then
|
||||
if [ -f "Makefile" ]; then
|
||||
make clean
|
||||
fi
|
||||
if [ "$1" == "all" ]; then
|
||||
./configure && make
|
||||
elif [ "$1" == "check" ]; then
|
||||
./configure && make check
|
||||
elif [ "$1" == "debug" ]; then
|
||||
./configure --enable-debug && make
|
||||
elif [ "$1" == "ready" ]; then
|
||||
if ./configure && make check && make distcheck; then
|
||||
echo -e "\n\e[0;32mReady for distribution\e[m"
|
||||
else
|
||||
echo -e "\n\e[0;31mSome errors detected!\e[m"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
Reference in a new issue