Rev 3871 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3871 | Rev 9966 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | sed 's/=/="/;s/\\//;s/_color_/black/g;s/\$slib_dotwidth/8/g;s/\$slib_textsize/large/g' >$datafile.for_sh |
28 | sed 's/=/="/;s/\\//;s/_color_/black/g;s/\$slib_dotwidth/8/g;s/\$slib_textsize/large/g' >$datafile.for_sh |
29 | . ./$datafile.for_sh |
29 | . ./$datafile.for_sh |
30 | fi |
30 | fi |
31 | 31 | ||
32 | complist=`echo $comp_all | tr ',' ' '` |
32 | complist=`echo $comp_all | tr ',' ' '` |
- | 33 | ## doesnot work : copy the list in compdata in the corresponding line below |
|
- | 34 | ##compnorotate=`echo $comp_norotate | tr ' ' '|'` |
|
- | 35 | ||
33 | 36 | ||
34 | mkdir -p $outdir |
37 | mkdir -p $outdir |
35 | for c in $complist; do |
38 | for c in $complist; do |
36 | rm -f $outdir/$c-h.gif $outdir/$c-v.gif $outdir/${c}R-h.gif $outdir/${c}R-v.gif |
39 | rm -f $outdir/$c-h.gif $outdir/$c-v.gif $outdir/${c}R-h.gif $outdir/${c}R-v.gif |
37 | export comp_$c |
40 | export comp_$c |
Line 40... | Line 43... | ||
40 | $header |
43 | $header |
41 | $draw |
44 | $draw |
42 | output $outdir/$c-h.gif |
45 | output $outdir/$c-h.gif |
43 | @ |
46 | @ |
44 | case $c in |
47 | case $c in |
45 |
|
48 | acsrc|ammeter|ammeterN|lamp|lampN|meter|motor|num|voltmeter|voltmeterN) |
46 | ln -s $c-h.gif $outdir/$c-v.gif |
49 | ln -s $c-h.gif $outdir/$c-v.gif |
47 | ln -s $c-h.gif $outdir/${c}R-h.gif |
50 | ln -s $c-h.gif $outdir/${c}R-h.gif |
48 | ln -s $c-h.gif $outdir/${c}R-v.gif |
51 | ln -s $c-h.gif $outdir/${c}R-v.gif |
49 | ;; |
52 | ;; |
50 | cap|lamp|res|term2|wire) |
53 | cap|lamp|res|term2|wire) |