Admin/makedist
author wenzelm
Tue, 13 Oct 1998 14:24:35 +0200
changeset 5642 1b3e48bdbb93
parent 5622 5b56804edf85
child 5725 26772f4543fc
permissions -rwxr-xr-x
PRIVATE sig parts;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3060
7c3564de392e removed -norc;
wenzelm
parents: 2970
diff changeset
     1
#!/bin/bash
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     2
#
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     3
# $Id$
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     4
#
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     5
# makedist -- make Isabelle distribution.
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     6
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     7
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     8
## global settings
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
     9
2829
c6b491e837cb remove empty dirs;
wenzelm
parents: 2794
diff changeset
    10
LOGICS="CCL CTT Cube FOL FOLP HOL HOLCF LCF Provers Pure Sequents TFL Tools ZF"
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    11
5171
cca9a908c270 fixed CVSROOT;
wenzelm
parents: 5169
diff changeset
    12
CVSROOT=/usr/proj/isabelle-repository/archive
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    13
DISTBASE=~/tmp/isadist
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    14
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    15
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    16
## diagnostics
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    17
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    18
PRG=$(basename $0)
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    19
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    20
function usage()
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    21
{
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    22
  echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    23
  echo "Usage: $PRG VERSION"
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    24
  echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    25
  cat <<EOF
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    26
  Make Isabelle distribution from the master sources at TUM.
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    27
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    28
  VERSION may be either a tag like "Isabelle94-XX" that specifies the
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    29
  release to be exported from the repository, or "-" to checkout the
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    30
  current sources as an unofficial release.
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    31
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    32
  Checklist for official releases (before running this script):
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    33
2668
72a962676702 fixed Id comment;
wenzelm
parents: 2667
diff changeset
    34
    * Check that README files are up to date (should have Id: lines).
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    35
    * Check that Pure/ROOT.ML/version is up to date!
2686
351c45bb338d tuned comment;
wenzelm
parents: 2668
diff changeset
    36
    * Check release name and date in NEWS!
2970
4ed0b27e482d added fixencoding note;
wenzelm
parents: 2829
diff changeset
    37
    * Make sure that encoding info is consistent (fixencoding)!
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    38
    * Make sure that the repository version of Doc is consistent
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    39
      (watch out for *.bbl, *.rao, *.ind)!
3186
57be77ca36ff tuned comment;
wenzelm
parents: 3169
diff changeset
    40
    * Check ML_SYSTEM defaults!
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    41
EOF
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    42
  #Wicked! We just won't tell other users ...
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    43
  if [ $LOGNAME = paulson -o $LOGNAME = nipkow -o $LOGNAME = wenzelm ]; then
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    44
    cat <<EOF
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    45
    * Tag the current repository version, e.g.:
4542
wenzelm
parents: 4411
diff changeset
    46
        cvs -d $CVSROOT rtag Isabelle94-XX isabelle
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    47
      PLEASE DON'T DO THIS UNLESS YOU KNOW WHAT YOU'RE DOING!
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    48
EOF
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    49
  fi
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    50
  cat <<EOF
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    51
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    52
  After the distribution has been created succesfully, you might want
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    53
  to run some makeall tests using different ML systems.
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    54
  
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    55
EOF
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    56
  exit 1
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    57
}
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    58
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    59
function fail()
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    60
{
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    61
  echo "$1" >&2
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    62
  exit 2
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    63
}
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    64
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    65
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    66
## process command line
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    67
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    68
[ $# -ne 1 ] && usage
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    69
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    70
VERSION="$1"
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    71
shift
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    72
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    73
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    74
## main
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    75
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    76
# dist version
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    77
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    78
DATE=$(date "+%d-%b-%Y")
4979
8b94f31a3022 README, Pure/ROOT.ML: version set automatically;
wenzelm
parents: 4550
diff changeset
    79
DISTDATE=$(date "+%B %Y")
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    80
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    81
if [ "$VERSION" = "-" ]; then
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    82
  DISTNAME=Isabelle_$DATE
4982
6f96354267e0 tuned dist version;
wenzelm
parents: 4979
diff changeset
    83
  DISTVERSION="$DISTNAME"
3363
8557c2a1750c fixed -P (checkout only);
wenzelm
parents: 3305
diff changeset
    84
  EXPORT="checkout -P"
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    85
  UNOFFICIAL=true
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    86
else
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    87
  DISTNAME="$VERSION"
4982
6f96354267e0 tuned dist version;
wenzelm
parents: 4979
diff changeset
    88
  DISTVERSION="$DISTNAME: $DISTDATE"
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    89
  EXPORT="export -r $VERSION"
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    90
  UNOFFICIAL=""
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    91
fi
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    92
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    93
mkdir -p $DISTBASE || fail "Unable to create distribution base dir $DISTBASE!"
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    94
[ -e $DISTBASE/$DISTNAME ] && fail "$DISTBASE/$DISTNAME already exists!"
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    95
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    96
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    97
# export from repository
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    98
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
    99
echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   100
echo "Exporting $DISTNAME from repository. Please be patient ..."
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   101
echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   102
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   103
cd $DISTBASE
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   104
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   105
export CVSROOT
3363
8557c2a1750c fixed -P (checkout only);
wenzelm
parents: 3305
diff changeset
   106
cvs -f -q $EXPORT -d $DISTNAME isabelle
5622
5b56804edf85 tuned rm CVS;
wenzelm
parents: 5385
diff changeset
   107
find . -name CVS -exec rm -rf {} \;
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   108
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   109
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   110
# make docs
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   111
3169
c13e54126fcd improved doc stuff;
wenzelm
parents: 3099
diff changeset
   112
cd $DISTBASE/$DISTNAME/Doc
c13e54126fcd improved doc stuff;
wenzelm
parents: 3099
diff changeset
   113
c13e54126fcd improved doc stuff;
wenzelm
parents: 3099
diff changeset
   114
for DOC in $(cat Contents)
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   115
do
3169
c13e54126fcd improved doc stuff;
wenzelm
parents: 3099
diff changeset
   116
  cd $DOC
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   117
  make dist
3169
c13e54126fcd improved doc stuff;
wenzelm
parents: 3099
diff changeset
   118
  cd ..
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   119
done
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   120
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   121
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   122
# prepare dist dir for release
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   123
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   124
cd $DISTBASE/$DISTNAME
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   125
5172
0af867c248ee fixed eps/ps find;
wenzelm
parents: 5171
diff changeset
   126
find Doc \( -type f -a \( -name \*.dvi -o -name \*.eps -o -name \*.ps \) \) \
0af867c248ee fixed eps/ps find;
wenzelm
parents: 5171
diff changeset
   127
  -exec mv -f {} Distribution/doc \;
3305
d8114e93ef66 fixed doc;
wenzelm
parents: 3281
diff changeset
   128
rm Distribution/doc/Isa-logics.eps
4549
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   129
cp Admin/index.html $DISTBASE
3099
808681776bf7 -P option (prune empty dirs);
wenzelm
parents: 3060
diff changeset
   130
rm -rf Admin Doc
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   131
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   132
mkdir src
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   133
mv $LOGICS src
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   134
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   135
mv Distribution/* .
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   136
rmdir Distribution
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   137
4180
wenzelm
parents: 4176
diff changeset
   138
( cd lib/browser; make; )
3638
2b67561c6488 Added some commands for building theory browser.
berghofe
parents: 3363
diff changeset
   139
5385
8fc3828fdc8a eps logis;
wenzelm
parents: 5172
diff changeset
   140
cp doc/isabelle*.eps lib/logo
8fc3828fdc8a eps logis;
wenzelm
parents: 5172
diff changeset
   141
3638
2b67561c6488 Added some commands for building theory browser.
berghofe
parents: 3363
diff changeset
   142
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   143
if [ -n "$UNOFFICIAL" ]; then
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   144
  {
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   145
    echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   146
    echo "IMPORTANT NOTE"
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   147
    echo "=============="
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   148
    echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   149
    echo "This is an unofficial release of Isabelle, created by $LOGNAME $DATE."
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   150
    echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   151
  } >UNOFFICIAL
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   152
fi
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   153
4986
d4f257d3445a tuned msgs;
wenzelm
parents: 4982
diff changeset
   154
perl -pi -e "s/Isabelle repository/$DISTVERSION/" src/Pure/ROOT.ML
d4f257d3445a tuned msgs;
wenzelm
parents: 4982
diff changeset
   155
perl -pi -e "s/the internal repository version of Isabelle/$DISTVERSION/" README.html
3257
4e3724e0659f README generation;
wenzelm
parents: 3186
diff changeset
   156
lynx -dump README.html >README
4e3724e0659f README generation;
wenzelm
parents: 3186
diff changeset
   157
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   158
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   159
# create archive
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   160
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   161
cd $DISTBASE
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   162
2794
2d259a41cd77 uncommented chown / chmod (again);
wenzelm
parents: 2776
diff changeset
   163
chown -R $LOGNAME:isabelle $DISTNAME
2d259a41cd77 uncommented chown / chmod (again);
wenzelm
parents: 2776
diff changeset
   164
chmod -R u+w $DISTNAME
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   165
4548
wenzelm
parents: 4542
diff changeset
   166
if type -path gtar
wenzelm
parents: 4542
diff changeset
   167
then
4549
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   168
  gtar cf $DISTNAME.tar $DISTNAME
4411
wenzelm
parents: 4181
diff changeset
   169
else
4549
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   170
  tar cf $DISTNAME.tar $DISTNAME
4411
wenzelm
parents: 4181
diff changeset
   171
fi
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   172
4549
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   173
UNPACKED_SIZE=$[ $(wc -c <$DISTNAME.tar) / 1024 ]
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   174
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   175
gzip $DISTNAME.tar
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   176
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   177
PACKED_SIZE=$[ $(wc -c <$DISTNAME.tar.gz) / 1024 ]
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   178
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   179
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   180
# prepare index.html
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   181
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   182
perl -pi -e \
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   183
 "s/{ISABELLE}/$DISTNAME/g; \
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   184
  s/{PACKED_SIZE}/$PACKED_SIZE/g; \
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   185
  s/{UNPACKED_SIZE}/$UNPACKED_SIZE/g; \
4550
wenzelm
parents: 4549
diff changeset
   186
  s/{AUTHOR}/$LOGNAME/g; \
5169
c677baeac0f7 library includes Isabelle version information;
wenzelm
parents: 4986
diff changeset
   187
  s/{DATE}/$DATE/g;" index.html $DISTNAME/lib/html/index1.html $DISTNAME/lib/html/index2.html
4549
aa02667fb3da automatic index.html patch;
wenzelm
parents: 4548
diff changeset
   188
2667
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   189
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   190
# final note
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   191
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   192
echo
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   193
echo "That's it. You'll find the distribution in $DISTBASE."
b2172eab9ba6 makedist -- make Isabelle distribution.
wenzelm
parents:
diff changeset
   194
echo