#!/bin/mk -f
T=`{ls *.tt}
S=${T:%.tt=%.ht}
all:VQ: $S
%.ht:D: %.tt
	ptt $stem.tt > $target
%.tt: %.png
	echo 'H1:-l' > $target
	echo 'I:' $stem.png 'align="center" width="100%"' >>$target
%.tt: %.jpg
	echo 'H1:-l' > $target
	echo 'I:' $stem.jpg 'align="center" width="100%"' >>$target

clean:V:
	rm $S
