/[guile]/guile/guile-scripts/dist-guile
ViewVC logotype

Diff of /guile/guile-scripts/dist-guile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ttn, Mon Apr 29 21:57:41 2002 UTC revision 1.2 by ttn, Mon May 13 19:14:14 2002 UTC
# Line 1  Line 1 
1  #!/bin/sh -x  #!/bin/sh -x
2  # usage: dist-guile  # usage: dist-guile TAG
3  #  #
4  # This must be run in a branched top-level guile-core dir (so  # This must be run in a branched top-level guile-core dir (so
5  # that CVS/Tag looks something like: branch_release-X-Y).  # that CVS/Tag looks something like: branch_release-X-Y).
# Line 7  Line 7 
7  # Behavior:  # Behavior:
8  # - check all files under cwd are unmodified (sync'ed w/ cvs repo)  # - check all files under cwd are unmodified (sync'ed w/ cvs repo)
9  # - sh -x autogen.sh  # - sh -x autogen.sh
10  # - cvs tag release_X-Y  # - cvs tag release_TAG         (where TAG is $1)
11  # - create distdir ../dist.$branch  # - create distdir ../dist.$branch
12  # - in $distdir do configure, make, make check  # - in $distdir do configure, make, make check
13  # - in $distdir do make distcheck  # - in $distdir do make distcheck
14  #  #
15  # TODO: Handle non-standard workbook location (pass $1 to autogen.sh).  # TODO: Handle non-standard workbook location.
16  #       Support skipping steps, for restarts.  #       Support skipping steps, for restarts.
17    
18  set -e  set -e
# Line 21  me=`basename $0` Line 21  me=`basename $0`
21  startdir=`pwd`  startdir=`pwd`
22  branch=""  branch=""
23  distdir=""  distdir=""
24  tag=""  tag=$1          # see $workbook/build/dist-files/HACKING
25    
26    if [ x"$tag" = x ] ; then
27        echo Usage: $me TAG
28        echo where TAG is something like release_1-4-1
29        exit 1
30    fi
31    
32  set_branch_and_derived_vars ()  set_branch_and_derived_vars ()
33  {  {
# Line 36  fi Line 42  fi
42  # must be peer w/ startdir  # must be peer w/ startdir
43  distdir="../dist.$branch"  distdir="../dist.$branch"
44    
 # see $w/build/dist-files/HACKING  
 tag=`echo $branch | sed s/^branch_release-/release_/g`  
   
45  }  }
46    
47  check_unmodified_tag_and_autogen ()  check_unmodified_tag_and_autogen ()

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26