From 6e89ce440487aee7302ddf82ff32c16d6010af25 Mon Sep 17 00:00:00 2001 From: Jonathan Maw Date: Tue, 6 Nov 2012 11:24:05 +0000 Subject: Add autogen script This commit simplifies the build process by adding an autogen script to handle the creation of an m4 directory and execution of gtkdocize and autoreconf. Documentation on building has been updated accordingly. Signed-off-by: Jonathan Maw Signed-off-by: Jannis Pohlmann --- autogen.sh | 13 +++++++++++++ docs/reference/node-startup-controller/building.xml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 autogen.sh diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..634ceb0 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# - +# Copyright (c) 2012 GENIVI. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +set -e + +test -d m4 || mkdir m4 +gtkdocize +autoreconf -ivf diff --git a/docs/reference/node-startup-controller/building.xml b/docs/reference/node-startup-controller/building.xml index 0c70470..3b4b08c 100644 --- a/docs/reference/node-startup-controller/building.xml +++ b/docs/reference/node-startup-controller/building.xml @@ -64,7 +64,7 @@ final build scripts (configure and Makefile files) from the templates shipped along with the source code: - (test -d m4 || mkdir m4) && gtkdocize && autoreconf -ivf + ./autogen.sh -- cgit v1.2.1