From: Sergio Durigan Junior Date: Sun, 9 Mar 2014 17:09:04 +0000 (-0300) Subject: Add bootstrap.sh script X-Git-Tag: v2014.1~8 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flibreceita.git;a=commitdiff_plain;h=8ea077a0fac049cfeca6764bf871b2048b2f8e19 Add bootstrap.sh script This commit adds the bootstrap.sh script, which automates the processing of configure.ac and Makefile.am files in order to generate the build scripts. --- diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100755 index 0000000..41e9823 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +# These are the necessary steps to generate the configure scripts. + +set -x + +# Use "build-aux" as our aux dir, i.e., put the generated files there. +AUX_DIR=build-aux + +test -d $AUX_DIR || mkdir -p $AUX_DIR + +aclocal +autoconf +automake --add-missing --copy --force --foreign diff --git a/configure.ac b/configure.ac index 3507dc2..c7a85dc 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,5 @@ AC_INIT(rnetclient,2014.0,cascardo@minaslivre.org) +AC_CONFIG_AUX_DIR(build-aux) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION) AC_PROG_CC AC_PROG_INSTALL