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 4026, Sat Dec 20 23:19:53 2014 UTC revision 4032, Sun Dec 21 16:40:45 2014 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    
# Line 35  Line 38 
38    "    "
39    
40  for d in $dirs ; do  for d in $dirs ; do
41    tar -czf $d.tgz $d    tar -czf $here/$d.tgz $d
42  done  done
43    
44  base_dirs="\  base_dirs="\
# Line 47  Line 50 
50    
51  cd $here/base  cd $here/base
52  for d in $base_dirs ; do  for d in $base_dirs ; do
53    tar -czf ../$d.tgz $d    tar -czf $here/$d.tgz $d
54  done  done
55    
56  # building the documentation requires configuring it and then generating the manual pages  # building the documentation requires configuring it and then generating the manual pages
57  #  #
58  cd $here/doc  cd $here
59    cd doc
60  autoconf -Iconfig || exit 1  autoconf -Iconfig || exit 1
61    ./configure
62    #
63    # generate the man pages into $here/doc/doc/man
64  make man || exit 1  make man || exit 1
65  #  #
66  # cleanup  # cleanup
67  make distclean  make distclean
68  # build tar file  # build tar files
69  cd $here  cd $here/doc
70  tar -czf doc.tar.gz doc  tar -czf $here/doc.tar.gz doc

Legend:
Removed from v.4026  
changed lines
  Added in v.4032

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