equal
deleted
inserted
replaced
160 echo "==============" |
160 echo "==============" |
161 echo |
161 echo |
162 echo "This is an unofficial release of Isabelle, created by $LOGNAME $DATE." |
162 echo "This is an unofficial release of Isabelle, created by $LOGNAME $DATE." |
163 echo |
163 echo |
164 } >ANNOUNCE |
164 } >ANNOUNCE |
165 perl -pi -e "s/val is_official = true/val is_official = false/" src/Pure/ROOT.ML |
165 else |
|
166 perl -pi -e "s/val is_official = false/val is_official = true/" src/Pure/ROOT.ML |
166 fi |
167 fi |
167 |
168 |
168 perl -pi -e "s/ISABELLE_IDENTIFIER=\"\"/ISABELLE_IDENTIFIER=\"$DISTNAME\"/g;" lib/scripts/getsettings |
169 perl -pi -e "s/ISABELLE_IDENTIFIER=\"\"/ISABELLE_IDENTIFIER=\"$DISTNAME\"/g;" lib/scripts/getsettings |
169 perl -pi -e "s/{ISABELLE}/$DISTNAME/g;" lib/html/library_index_header.template |
170 perl -pi -e "s/{ISABELLE}/$DISTNAME/g;" lib/html/library_index_header.template |
170 perl -pi -e "s/Isabelle repository version/$DISTVERSION/" src/Pure/ROOT.ML lib/Tools/version |
171 perl -pi -e "s/Isabelle repository version/$DISTVERSION/" src/Pure/ROOT.ML lib/Tools/version |
192 chmod -R g=o "$DISTNAME" |
193 chmod -R g=o "$DISTNAME" |
193 chgrp -R isabelle "$DISTNAME" Isabelle |
194 chgrp -R isabelle "$DISTNAME" Isabelle |
194 |
195 |
195 mkdir -p "pdf/$DISTNAME/doc" |
196 mkdir -p "pdf/$DISTNAME/doc" |
196 mv "$DISTNAME/doc/"*.pdf "pdf/$DISTNAME/doc" |
197 mv "$DISTNAME/doc/"*.pdf "pdf/$DISTNAME/doc" |
197 |
|
198 sync; sleep 3 |
|
199 |
198 |
200 echo "$DISTNAME.tar.gz" |
199 echo "$DISTNAME.tar.gz" |
201 tar cf "$DISTNAME.tar" Isabelle "$DISTNAME" |
200 tar cf "$DISTNAME.tar" Isabelle "$DISTNAME" |
202 gzip "$DISTNAME.tar" |
201 gzip "$DISTNAME.tar" |
203 |
202 |
223 chgrp -R isabelle "$DISTNAME" |
222 chgrp -R isabelle "$DISTNAME" |
224 |
223 |
225 rm -rf "${DISTNAME}-old" |
224 rm -rf "${DISTNAME}-old" |
226 |
225 |
227 |
226 |
228 # final note |
|
229 |
|
230 echo "###" |
227 echo "###" |
231 echo "### Finished makedist." |
228 echo "### Finished makedist." |
232 echo "###" |
229 echo "###" |