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 4718 - (download) (as text) (annotate)
Mon Sep 3 01:20:13 2018 UTC (7 months, 3 weeks ago) by jhr
File size: 1293 byte(s)
  add asdl to build-tar-files.sh
#!/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 \
    asdl \
    nlffi \
    pgraph \
    smlnj-c \
    smlnj-lib \
    trace-debug-profile \
  "

for d in $dirs ; do
  #
  # some directories require special pre-processing
  #
  case $d in
    asdl)
      cd asdl
      autoheader -Iconfig
      autoconf -Iconfig
      rm -rf autom4te.cache
      cd $here
    ;;
  esac
  #
  # build the tarball
  #
  tar -czf $here/$d.tgz $d
done

base_dirs="\
    cm \
    compiler \
    runtime \
    system \
    old-basis \
  "

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
# and HTML files
#
cd $here/doc
autoconf -Iconfig || exit 1
rm -rf autom4te.cache
./configure
#
# generate the documentation into $here/doc/doc
@
make doc || exit 1
#
# build tar file of generated documentation
#
tar -czf $here/doc.tgz doc


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