ref: d945588623cbe5fedc5b99efa3f9a1d77c226767
dir: /mkfile/
files=`{ls *.ht} softs=`{ls softs/*.sed} all:V: ${files:%.ht=out/%.html} out/index.html clean:V: rm index.ht out/%.html: %.ht %.sed frag/header.htf frag/footer.htf sed -f $stem.sed frag/header.htf $stem.ht frag/footer.htf > $target index.ht: $softs frag/soft.htf frag/index0.htf frag/index1.htf >$target { cat frag/index0.htf for (s in $softs) { sed -f $s frag/soft.htf } cat frag/index1.htf }