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