| 1 |
MKSHELL = rc |
| 2 |
|
| 3 |
all:V: htdocs |
| 4 |
|
| 5 |
wrappers = `{find www -name '*.t2t'} |
| 6 |
htmls = ${wrappers:www/%.t2t=htdocs/%.html} |
| 7 |
|
| 8 |
htdocs:V: $htmls |
| 9 |
|
| 10 |
$htmls: www/menubar.html |
| 11 |
htdocs/COPYRIGHT.html: ../COPYRIGHT |
| 12 |
htdocs/DEVEL.html: ../DEVEL |
| 13 |
htdocs/HISTORY.html: ../HISTORY |
| 14 |
htdocs/README.html: ../README |
| 15 |
|
| 16 |
htdocs/%.html: www/%.t2t |
| 17 |
txt2tags -t html -i www/$stem.t2t -o $target |
| 18 |
|
| 19 |
htdocs/userguide.html: www/userguide.t2t userguide.t2t |
| 20 |
txt2tags -t html --toc --toc-level 2 -i www/userguide.t2t -o $target |