/[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.2 by ttn, Mon May 13 19:14:14 2002 UTC revision 1.3 by ttn, Mon May 13 20:23:31 2002 UTC
# Line 4  Line 4 
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).
6  #  #
7  # Behavior:  # Description:
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
 # - cvs tag release_TAG         (where TAG is $1)  
10  # - create distdir ../dist.$branch  # - create distdir ../dist.$branch
11  # - in $distdir do configure, make, make check  # - in $distdir do configure, make, make check
12  # - in $distdir do make distcheck  # - in $distdir do make distcheck
13    # - cvs tag TAG         (where TAG is $1)
14  #  #
15  # TODO: Handle non-standard workbook location.  # TODO: Handle non-standard workbook location.
16  #       Support skipping steps, for restarts.  #       Support skipping steps, for restarts.
# Line 29  if [ x"$tag" = x ] ; then Line 29  if [ x"$tag" = x ] ; then
29      exit 1      exit 1
30  fi  fi
31    
32    trap "cd $startdir ; cvs tag -d TEMP-$tag" 0 1 2 15
33    
34  set_branch_and_derived_vars ()  set_branch_and_derived_vars ()
35  {  {
36  if [ -f pre-inst-guile.in -a -d CVS -a -f CVS/Tag ] ; then  if [ -f pre-inst-guile.in -a -d CVS -a -f CVS/Tag ] ; then
# Line 46  distdir="../dist.$branch" Line 48  distdir="../dist.$branch"
48    
49  check_unmodified_tag_and_autogen ()  check_unmodified_tag_and_autogen ()
50  {  {
51  cvs tag -c $tag && sh -x autogen.sh  cvs tag -c TEMP-$tag && sh -x autogen.sh
52  }  }
53    
54  cd_distdir_configure_build_and_check ()  cd_distdir_configure_build_and_check ()
# Line 64  cd $distdir Line 66  cd $distdir
66  make distcheck  make distcheck
67  }  }
68    
69    everything_works_so_tag_it_for_real ()
70    {
71    cd $startdir
72    cvs tag $tag
73    }
74    
75  # todo: support command-line options to skip any of these steps  # todo: support command-line options to skip any of these steps
76  set_branch_and_derived_vars  set_branch_and_derived_vars
77  check_unmodified_tag_and_autogen  check_unmodified_tag_and_autogen
78  cd_distdir_configure_build_and_check  cd_distdir_configure_build_and_check
79  cd_distdir_and_make_distcheck  cd_distdir_and_make_distcheck
80    everything_works_so_tag_it_for_real     # do last
81    
82  # dist-guile ends here  # dist-guile ends here

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

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