Repo initialisation

This commit is contained in:
Pierre-Olivier Mercier 2012-07-09 07:29:17 +02:00
commit 6a89d1f5df
14 changed files with 586 additions and 0 deletions

22
bootstrap Executable file
View 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