ADG Lua 

ADG Lua Git Source Tree

Root/autogen.sh

1#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
3
4step() {
5 local message="$1"
6 local command="$2"
7
8 printf "$message... "
9
10 if eval $command >/dev/null 2>&1; then
11printf "\033[32mok\033[0m\n"
12 else
13local result=$?
14printf "\033[31mfailed\033[0m\n ** \"$command\" returned $result\n"
15exit $result
16 fi
17}
18
19
20dir=`dirname $0`
21test -z "$dir" && dir=.
22
23step"Checking for top-level adg-lua directory" \
24"test -f '$dir/adg-demo.lua.in'"
25
26step"Creating dummy ChangeLog, if needed" \
27"test -f '$dir/ChangeLog' || touch '$dir/ChangeLog'"
28
29step"Regenerating autotools files" \
30"autoreconf -is -Wall '$dir'"
31
32
33printf "Now run \033[1m$dir/configure\033[0m to customize your building\n"

Archive Download this file

Branches

Tags