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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4032 - (download) (as text) (annotate)
Sun Dec 21 16:40:45 2014 UTC (4 years, 9 months ago) by jhr
File size: 1006 byte(s)
  working on build-tar-files.sh script
#!/bin/sh
#
# create the source tar files for a distribution
#
# usage:
#	admin/build-tar-files.sh
#

set +x

here=`pwd`
path_to_me=`dirname $0`

# export all source files
#
$path_to_me/checkout-all.sh --export

# cleanup stuff that shouldn't be in the release
#
rm -rf smlnj-lib/Dev

dirs="\
    MLRISC \
    ckit \
    cml \
    config \
    eXene \
    heap2asm \
    ml-burg \
    ml-lex \
    ml-lpt \
    ml-yacc \
    nlffi \
    pgraph \
    smlnj-c \
    smlnj-lib \
    trace-debug-profile \
  "

for d in $dirs ; do
  tar -czf $here/$d.tgz $d
done

base_dirs="\
    cm \
    compiler \
    runtime \
    system \
  "

cd $here/base
for d in $base_dirs ; do
  tar -czf $here/$d.tgz $d
done

# building the documentation requires configuring it and then generating the manual pages
#
cd $here
cd doc
autoconf -Iconfig || exit 1
./configure
#
# generate the man pages into $here/doc/doc/man
make man || exit 1
#
# cleanup
make distclean
# build tar files
cd $here/doc
tar -czf $here/doc.tar.gz doc

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