From 8ea077a0fac049cfeca6764bf871b2048b2f8e19 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 9 Mar 2014 14:09:04 -0300 Subject: [PATCH] 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. --- bootstrap.sh | 14 ++++++++++++++ configure.ac | 1 + 2 files changed, 15 insertions(+) create mode 100755 bootstrap.sh 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 -- 2.20.1