# XXXRGG: We don't have a gtkhx.types file, nor do we run gtkdoc-scangobj
# What's the advantage of using gtkdoc-scangobj vs gtkdoc-scan?

docs:
	mkdir -p html
	mkdir -p xml
	for i in gtkhx.args gtkhx.hierarchy gtkhx.interfaces gtkhx.prerequisites gtkhx.signals ; do \
		test -f $i || touch $i ; \
    done

	gtkdoc-scan --module=gtkhx --source-dir=.. --ignore-headers="dbg"
	gtkdoc-mktmpl --module=gtkhx
	gtkdoc-mkdb --module=gtkhx --source-dir=.. --sgml-mode --output-format=xml
	cd html && gtkdoc-mkhtml gtkhxplayer ../gtkhx-docs.sgml
