minimal autotools project with bootstrapbuild.sh launch

This commit is contained in:
philippe lhardy
2018-06-07 22:28:36 +02:00
parent eb6760280f
commit 89d6631f67
7 changed files with 90 additions and 0 deletions

23
bootstrapbuild.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
if [[ ! -f configure.ac ]]
then
echo "[ERROR] Missing configure.ac . Please create one " >&2
exit 1
fi
if which autoreconf
then
echo "bootstrap using automake tools"
echo "from configure.ac will generate configure"
autoreconf --install
echo "lauch ./configure && make"
else
echo "[ERROR] Missing autoreconf script from autotools. Please install autotools ( package autotools-dev and autoreconf" >&2
fi