minimal autotools project with bootstrapbuild.sh launch
This commit is contained in:
23
bootstrapbuild.sh
Executable file
23
bootstrapbuild.sh
Executable 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
|
||||
Reference in New Issue
Block a user