diff -r 134ac2c35c49 -r 3f14c769a4dc tools/addToolVersion.sh --- a/tools/addToolVersion.sh Fri Jul 13 12:22:34 2007 +0000 +++ b/tools/addToolVersion.sh Sat Aug 11 10:55:38 2007 +0000 @@ -43,6 +43,7 @@ VERSION= EXP= OBS= +prompt_suffix= i=1 while [ $i -le $# ]; do @@ -60,8 +61,8 @@ --ltrace) cat=LTRACE; tool=ltrace; tool_prefix=debug/ tool_suffix=;; --libelf) cat=LIBELF; tool=libelf; tool_prefix=tools/ tool_suffix=;; # Tools options: - -x|--experimental) EXP=1; OBS=;; - -o|--obsolete) OBS=1; EXP=;; + -x|--experimental) EXP=1; OBS=; prompt_suffix=" (EXPERIMENTAL)";; + -o|--obsolete) OBS=1; EXP=; prompt_suffix=" (OBSOLETE)";; --core) CORE=1; FINAL=;; --final) FINAL=1; CORE=;; --install) tool_suffix=install;; @@ -94,7 +95,7 @@ TOOL_SUFFIX="`echo \"${tool_suffix}\" |tr [[:lower:]] [[:upper:]]`" L1="config ${cat}_${TOOL_SUFFIX}_V_${v}\n" L2=" bool\n" - L3=" prompt \"${ver}\"\n" + L3=" prompt \"${ver}${prompt_suffix}\"\n" # Extra versions are not necessary visible: case "${tool_suffix},${ver}" in sanitised,*) ;; # Sanitised headers always have an extra version @@ -105,7 +106,7 @@ else L1="config ${cat}${MIDDLE_V}_V_${v}\n" L2=" bool\n" - L3=" prompt \"${ver}\"\n" + L3=" prompt \"${ver}${prompt_suffix}\"\n" L5=" default \"${ver}\" if ${cat}${MIDDLE_V}_V_${v}" FILE="config/${tool_prefix}${MIDDLE_F}${tool}.in" fi