all:	config.xhp usage.xhp extending.xhp project.xhp errors.xhp config.html

config.html: config.page
	yelp-build html config.page
	rm C.css yelp.js highlight.pack.js

%.xhp:  %.page
	saxonb-xslt $*.page mallard2xhp.xsl > $*.xhp
	#xsltproc mallard2xhp.xsl config.page.xhp > config.xhp

%.page:  %.duck
	ducktype $*.duck
