$NetBSD: patch-ab,v 1.5 2012/08/28 00:30:45 gdt Exp $

Generate html docs in build phase (instead of install phase).
gnome-doc-tool seems to ignore "-o html" so manually generate
the same effect.

Solves PLIST problem due to missing html files.

This is not know to be reported upstream.

--- doc/Makefile.in.orig	2010-09-25 12:02:12.000000000 +0000
+++ doc/Makefile.in
@@ -408,7 +408,7 @@ uninstall-am: uninstall-helpDATA
 html/GuideIndex.html: docbook/GuideIndex.xml
 	rm -rf html; mkdir html
 	if [ -x "$(GNOME_DOC_TOOL)" ]; then \
-		"$(GNOME_DOC_TOOL)" html -o html $(srcdir)/docbook/GuideIndex.xml ; \
+		cd html && "$(GNOME_DOC_TOOL)" html ../$(srcdir)/docbook/GuideIndex.xml ; \
 	else \
 		echo "gnome-doc-tool not found, html is not built" ; \
 	fi
