apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: apr-dist/tools release.sh
Date Sun, 23 Mar 2003 00:43:14 GMT
aaron       2003/03/22 16:43:14

  Modified:    tools    release.sh
  Log:
  Add in release-build support for apr-iconv.
  
  Revision  Changes    Path
  1.6       +15 -3     apr-dist/tools/release.sh
  
  Index: release.sh
  ===================================================================
  RCS file: /home/cvs/apr-dist/tools/release.sh,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- release.sh	12 Sep 2002 05:05:51 -0000	1.5
  +++ release.sh	23 Mar 2003 00:43:14 -0000	1.6
  @@ -4,7 +4,7 @@
   #
   # USAGE: release.sh PROJECT VERSION [SIGNING-USER]
   #
  -#   The project is either 'apr' or 'apr-util'
  +#   The project is either 'apr', 'apr-util' or 'apr-iconv'
   #
   #   The version number is specified as MAJOR.MINOR.PATCH (and will be used
   #   in the output tarball name). The script will then look for a CVS tag
  @@ -34,9 +34,14 @@
       tag_prefix="APU"
       ver_prefix="apu"
       ;;
  +  apr-iconv)
  +    repos_name="apr-iconv"
  +    tag_prefix="API"
  +    ver_prefix="api"
  +    ;;
     *)
       echo "ERROR: '$1' is an unknown project." >&2
  -    echo "  choose one of: apr, apr-util"     >&2
  +    echo "  choose one of: apr, apr-util, apr-iconv"     >&2
       exit 1
   esac
   
  @@ -87,7 +92,14 @@
   find $dirname -name autom4te.cache | xargs rm -rf
   rm -f $dirnme/STATUS
   
  -(cd ${dirname} && ./buildconf) || exit 1
  +if test -x ${dirname}/buildconf; then
  +    (cd ${dirname} && ./buildconf) || exit 1
  +elif test -x ${dirname}/buildconf.sh; then
  +    (cd ${dirname} && ./buildconf.sh) || exit 1
  +else
  +    echo "Unable to find buildconf or buildconf.sh to run."
  +    exit 1
  +fi
   
   echo $split
   echo ""
  
  
  

Mime
View raw message