Subversion Repositories wimsdev

Rev

Rev 15614 | Rev 17647 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #! /bin/sh
  2.  
  3. files="objects objects2 fillobjects transform canvasdraw comandi usercommand images \
  4.  dataimages click button clock barchart userdraw userdrag protractor "
  5. dirin=src_
  6. dirout=src
  7. rm *.def
  8. rm src/*
  9. cp $dirin/main.src $dirout/main
  10. echo "!set titb=TOC" > $dirout/main.hd
  11. for f in $files; do
  12.         perl make.pl $dirin/$f $dirout/$f
  13.         tit=`head -n 1 $dirin/$f`;
  14.         echo "!set next=$f" >>"$dirout/$fold.hd"
  15.         echo "!set titb=$tit" > "$dirout/$f.hd"
  16.         echo "!set prev=$fold" >>"$dirout/$f.hd"
  17.   fold=$f
  18. done
  19. ../../../../other/bin/src2def
  20.