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 4026 - (download) (as text) (annotate)
Sat Dec 20 23:19:53 2014 UTC (4 years, 8 months ago) by jhr
File size: 883 byte(s)
  fix tar options
#!/bin/sh
#
# create the source tar files for a distribution
#

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 $d.tgz $d
done

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

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

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

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