Subversion Repositories wimsdev

Rev

Rev 12490 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
blocklist=!filelist $wims_home/$Docdir/$doc
2
!writefile $docdir/$doc/.index
3
blocklist=!words2items $blocklist
12535 bpr 4
 
5
!if $job2=erase and $block!=$empty and $block!=main
6
  !for b in $blocklist
7
    !set bsrc=!replace internal .def by  in $b
8
    !set prevnext=prev, next, upbl
9
    !for field in $prevnext
10
      !set bhd=!defof $field in wimshome/$Docdir/$doc/src/$bsrc.hd
11
      !if $bhd=$block
12
        !setdef !set $field=$empty in wimshome/$Docdir/$doc/src/$bsrc.hd
13
      !endif
14
    !next
15
  !next
16
!endif
17
 
23 reyssat 18
!for b in $blocklist
12490 bpr 19
  !if .def $ isin $b $ and $b!=.def
20
    t_=!defof titb in $docdir/$doc/$b
21
    n_=!char 1 to -5 of $b
22
    !appendfile $docdir/$doc/.index :$n_\
23 reyssat 23
$t_
12490 bpr 24
  !endif
23 reyssat 25
!next b