Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /admin/build-tar-files.sh
ViewVC logotype

Diff of /admin/build-tar-files.sh

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

revision 3193, Wed Aug 13 20:11:00 2008 UTC revision 4144, Mon Sep 28 16:46:09 2015 UTC
# Line 2  Line 2 
2  #  #
3  # create the source tar files for a distribution  # create the source tar files for a distribution
4  #  #
5    # usage:
6    #       admin/build-tar-files.sh
7    #
8    
9  set +x  set +x
10    
11  here=`pwd`  here=`pwd`
12  path_to_me=`dirname $0`  path_to_me=`dirname $0`
13    
   
14  # export all source files  # export all source files
15  #  #
16  $path_to_me/checkout-all.sh --export  $path_to_me/checkout-all.sh --export
17    
18    # cleanup stuff that shouldn't be in the release
19    #
20    rm -rf smlnj-lib/Dev
21    
22  dirs="\  dirs="\
23      MLRISC \      MLRISC \
24      ckit \      ckit \
# Line 32  Line 38 
38    "    "
39    
40  for d in $dirs ; do  for d in $dirs ; do
41    tar cfz $d.tgz $d    tar -czf $here/$d.tgz $d
42  done  done
43    
44  base_dirs="\  base_dirs="\
# Line 40  Line 46 
46      compiler \      compiler \
47      runtime \      runtime \
48      system \      system \
49        old-basis \
50    "    "
51    
52    cd $here/base
53  for d in $base_dirs ; do  for d in $base_dirs ; do
54    tar cfz $d.tgz base/$d    tar -czf $here/$d.tgz $d
55  done  done
56    
57    # building the documentation requires configuring it and then generating the manual pages
58    # and HTML files
59    #
60    cd $here/doc
61    autoconf -Iconfig || exit 1
62    ./configure
63    #
64    # generate the documentation into $here/doc/doc
65    make doc || exit 1
66    #
67    # build tar files
68    tar -czf $here/doc.tgz doc
69    

Legend:
Removed from v.3193  
changed lines
  Added in v.4144

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0