where=$$PWD ; \
(cd $(top_srcdir)/examples; ${abs_builddir}/src/ui/terminal/pspp $(abs_srcdir)/doc/examples/$(<F) -o $$where/$@,x -O format=html)
$(SED) -e '\%</body%,$$d' -e '0,/<body/d' $@,x > $@
where=$$PWD ; \
(cd $(top_srcdir)/examples; ${abs_builddir}/src/ui/terminal/pspp $(abs_srcdir)/doc/examples/$(<F) -o $$where/$@,x -O format=html)
$(SED) -e '\%</body%,$$d' -e '0,/<body/d' $@,x > $@