Admin/makedist
changeset 16301 f9f2e1643593
parent 16286 550d113ccd8f
child 16328 49c1f9dedc56
equal deleted inserted replaced
16300:a4e163c7ed9c 16301:f9f2e1643593
   159 echo "### Preparing distribution ..."
   159 echo "### Preparing distribution ..."
   160 echo "###"
   160 echo "###"
   161 
   161 
   162 cd "$DISTBASE/$DISTNAME" || fail "Something is wrong: dist directory doesn't exist!"
   162 cd "$DISTBASE/$DISTNAME" || fail "Something is wrong: dist directory doesn't exist!"
   163 
   163 
   164 cp -R Admin/page ..
   164 #~ # old site framework
   165 cp Distribution/doc/Contents ../page
   165 #~ cp -R Admin/page ..
   166 cp Distribution/lib/logo/isabelle.gif ../page/main-content
   166 #~ cp Distribution/doc/Contents ../page
   167 cp Distribution/lib/logo/isabelle.gif ../page/dist-content
   167 #~ cp Distribution/lib/logo/isabelle.gif ../page/main-content
   168 echo "$DISTNAME" > ../page/DISTNAME
   168 #~ cp Distribution/lib/logo/isabelle.gif ../page/dist-content
       
   169 #~ echo "$DISTNAME" > ../page/DISTNAME
       
   170 # new site framework
       
   171 cp -R Admin/website ..
       
   172 mkdir -p ../website/conf
       
   173 cat > ../website/conf/distname.mak <<EOF
       
   174 # this is a generated file - do not edit unless you know what you are doing
       
   175 
       
   176 DISTNAME=$DISTNAME
       
   177 EOF
   169 
   178 
   170 MOVE=$($FIND Doc \( -type f -a -not -type l -a \( -name \*.dvi -o -name \*.eps -o -name \*.ps -o -name \*.pdf \) -a -print \) | grep -v 'gfx/.*pdf')
   179 MOVE=$($FIND Doc \( -type f -a -not -type l -a \( -name \*.dvi -o -name \*.eps -o -name \*.ps -o -name \*.pdf \) -a -print \) | grep -v 'gfx/.*pdf')
   171 mv -f $MOVE Distribution/doc
   180 mv -f $MOVE Distribution/doc
   172 rm Distribution/doc/Isa-logics.eps
   181 rm Distribution/doc/Isa-logics.eps
   173 rm -rf Doc Tools
   182 rm -rf Doc Tools