2 # Run this to generate all the initial makefiles, etc.
10 if eval $command >/dev
/null
2>&1; then
11 printf "\033[32mok\033[0m\n"
14 printf "\033[31mfailed\033[0m\n ** \"$command\" returned $result\n"
21 test -z "$dir" && dir
=.
23 step
"Checking for top-level adg-lua directory" \
24 "test -f '$dir/adg-demo.lua.in'"
26 step
"Creating dummy ChangeLog, if needed" \
27 "test -f '$dir/ChangeLog' || touch '$dir/ChangeLog'"
29 step
"Regenerating autotools files" \
30 "autoreconf -is -Wall '$dir'"
33 printf "Now run \033[1m$dir/configure\033[0m to customize your building\n"