equal
deleted
inserted
replaced
149 echo "This is an unofficial release of Isabelle, created by $LOGNAME $DATE." |
149 echo "This is an unofficial release of Isabelle, created by $LOGNAME $DATE." |
150 echo |
150 echo |
151 } >UNOFFICIAL |
151 } >UNOFFICIAL |
152 fi |
152 fi |
153 |
153 |
|
154 perl -pi -e "s/{ISABELLE}/$DISTNAME/g;" lib/html/index1.html lib/html/index2.html |
154 perl -pi -e "s/Isabelle repository/$DISTVERSION/" src/Pure/ROOT.ML |
155 perl -pi -e "s/Isabelle repository/$DISTVERSION/" src/Pure/ROOT.ML |
155 perl -pi -e "s/the internal repository version of Isabelle/$DISTVERSION/" README.html |
156 perl -pi -e "s/the internal repository version of Isabelle/$DISTVERSION/" README.html |
156 lynx -dump README.html >README |
157 lynx -dump README.html >README |
157 |
|
158 |
|
159 # prepare index.html |
|
160 |
|
161 perl -pi -e \ |
|
162 "s/{ISABELLE}/$DISTNAME/g; \ |
|
163 s/{PACKED_SIZE}/$PACKED_SIZE/g; \ |
|
164 s/{UNPACKED_SIZE}/$UNPACKED_SIZE/g; \ |
|
165 s/{AUTHOR}/$LOGNAME/g; \ |
|
166 s/{DATE}/$DATE/g;" \ |
|
167 ../index.html \ |
|
168 lib/html/index1.html \ |
|
169 lib/html/index2.html |
|
170 |
158 |
171 |
159 |
172 # create archive |
160 # create archive |
173 |
161 |
174 cd $DISTBASE |
162 cd $DISTBASE |
188 gzip $DISTNAME.tar |
176 gzip $DISTNAME.tar |
189 |
177 |
190 PACKED_SIZE=$[ $(wc -c <$DISTNAME.tar.gz) / 1024 ] |
178 PACKED_SIZE=$[ $(wc -c <$DISTNAME.tar.gz) / 1024 ] |
191 |
179 |
192 |
180 |
|
181 # prepare dist index.html |
|
182 |
|
183 perl -pi -e \ |
|
184 "s/{ISABELLE}/$DISTNAME/g; \ |
|
185 s/{PACKED_SIZE}/$PACKED_SIZE/g; \ |
|
186 s/{UNPACKED_SIZE}/$UNPACKED_SIZE/g; \ |
|
187 s/{AUTHOR}/$LOGNAME/g; \ |
|
188 s/{DATE}/$DATE/g;" \ |
|
189 index.html |
|
190 |
|
191 |
193 # final note |
192 # final note |
194 |
193 |
195 echo |
194 echo |
196 echo "That's it. You'll find the distribution in $DISTBASE." |
195 echo "That's it. You'll find the distribution in $DISTBASE." |
197 echo |
196 echo |