X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=configure.sh;h=42f8123945f905182436717804cbf83b26f417ef;hb=7d04a702b88445f1b1cb7633879348a5dcdffbfa;hp=2954620ed4927ab5954729caf8fc558694f55cdc;hpb=dd56a89364e9fe198bec79d2da612b84bf983f31;p=fanfix.git diff --git a/configure.sh b/configure.sh index 2954620..42f8123 100755 --- a/configure.sh +++ b/configure.sh @@ -33,11 +33,23 @@ done [ $valid = false ] && exit 2 +if [ "`whereis tput`" = "tput:" ]; then + ok='"[ ok ]"'; + ko='"[ !! ]"'; + cols=80; +else + ok='"`tput bold`[`tput setf 2` OK `tput init``tput bold`]`tput init`"'; + ko='"`tput bold`[`tput setf 4` !! `tput init``tput bold`]`tput init`"'; + cols='"`tput cols`"'; +fi; + echo "MAIN = be/nikiroo/fanfix/Main" > Makefile +echo "TEST = be/nikiroo/fanfix/test/Test" >> Makefile +echo "TEST_PARAMS = $cols $ok $ko" >> Makefile echo "NAME = fanfix" >> Makefile echo "PREFIX = $PREFIX" >> Makefile -echo "JAR_FLAGS += -C bin/ org -C bin/ be -C ./ VERSION" >> Makefile -#echo "SJAR_FLAGS += -C src/ org -C src/ be -C ./ LICENSE -C ./ README.md -C ./ VERSION" >> Makefile +echo "JAR_FLAGS += -C bin/ org -C bin/ jexer -C bin/ be -C bin/ VERSION" >> Makefile +#echo "SJAR_FLAGS += -C src/ org -C src/ jexer -C src/ be -C ./ LICENSE -C ./ README.md -C ./ VERSION" >> Makefile cat Makefile.base >> Makefile