#!/bin/sh # make-wc.sh: Check out working copy of uim trunk and prepare to build. Do # not use this script to make a release. Use make-dist.sh for it. # # Usage: # # $ svn co http://uim.googlecode.com/svn/trunk uim-trunk # $ cd uim-trunk # $ ./make-wc.sh # $ make # # Or if you are an uim committer, # # $ svn co https://uim.googlecode.com/svn/trunk uim-trunk # $ cd uim-trunk # $ ./make-wc.sh # $ make # # You can add arbitrary configure options to make-wc.sh as follows: # # $ ./make-wc.sh --enable-debug --enable-backtrace # # Prerequisites to build uim trunk: # # - autoconf 2.60b or later (2.61 is recommended) # - automake 1.10 or later # - libtool (1.5.22 is working) # - intltool 0.35.2 (later versions may need autogen.sh modification) # - GNU make # - perl # - ruby # - rsvg(1) distributed with librsvg # - AsciiDoc # # And to run tests: # # - GNU sed (for 'make check' on SigScheme) # - Gauche 0.8.5 or later # - GaUnit 0.1.1 or later (see doc/UNIT-TEST) LANG=C MAKE=make #UIM_REPOSITORY="http://uim.googlecode.com/svn" #UIM_REPOSITORY="https://uim.googlecode.com/svn" # autoselect UIM_REPOSITORY=`svn info | grep 'Repository Root:' | sed 's/.*: //'` SSCM_REPOSITORY="${UIM_REPOSITORY}/sigscheme-trunk" LIBGCROOTS_REPOSITORY="${UIM_REPOSITORY}/libgcroots-trunk" TAGS_REPOSITORY="${UIM_REPOSITORY}/tags" SSCM_URL="${SSCM_REPOSITORY}" #SSCM_URL="${TAGS_REPOSITORY}/sigscheme-0.7.3" LIBGCROOTS_URL="${LIBGCROOTS_REPOSITORY}" #LIBGCROOTS_URL="${TAGS_REPOSITORY}/libgcroots-0.1.4" RELEASE_SUFFIX="-snapshot-"`date +%Y%m%d` # --enable-maintainer-mode is required to build svn trunk CONF_COMMON="--enable-maintainer-mode --disable-warnings-into-error" svn co $SSCM_URL sigscheme svn co $LIBGCROOTS_URL sigscheme/libgcroots (cd sigscheme/libgcroots && ./autogen.sh) \ && (cd sigscheme && ./autogen.sh) \ && ./autogen.sh \ || { echo 'autogen failed.' && exit 1; } if test -n "$RELEASE_SUFFIX"; then ed Makefile.in <