From df8bd6838118bc4e5c8b063c3a1d9c2d1b24cb50 Mon Sep 17 00:00:00 2001 From: Travis Reitter Date: Thu, 24 Feb 2011 12:54:01 -0800 Subject: Re-enable gtk-docs, now that valadoc is fixed. Helps bgo#643247 - Folks needs C API documentation --- docs/Makefile.am | 55 ++++++++++++++++++++++++------------------------------- 1 file changed, 24 insertions(+), 31 deletions(-) (limited to 'docs') diff --git a/docs/Makefile.am b/docs/Makefile.am index 1808abc..721f776 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -3,9 +3,8 @@ folksimgdir=$(datadir)/devhelp/references/folks/img folkstelepathydocdir=$(datadir)/devhelp/references/folks-telepathy folkstelepathyimgdir=$(datadir)/devhelp/references/folks-telepathy/img -# FIXME: disabled due to continued brokenness in valadoc (related to bgo#629531) -#folksgtkdocdir=$(datadir)/gtk-doc/html/folks -#folkstelepathygtkdocdir=$(datadir)/gtk-doc/html/folks-telepathy +folksgtkdocdir=$(datadir)/gtk-doc/html/folks +folkstelepathygtkdocdir=$(datadir)/gtk-doc/html/folks-telepathy common_doc_files = \ *.css \ @@ -24,9 +23,8 @@ folkstelepathydoc_DATA = \ $(addprefix folks-telepathy/folks-telepathy/,$(common_doc_files)) \ $(NULL) -# FIXME: disabled due to continued brokenness in valadoc (related to bgo#629531) -#folksgtkdoc_DATA = gtk-doc/folks/html/* -#folkstelepathygtkdoc_DATA = gtk-doc/folks-telepathy/html/* +folksgtkdoc_DATA = gtk-doc/folks/html/* +folkstelepathygtkdoc_DATA = gtk-doc/folks-telepathy/html/* folksimg_DATA = \ folks/folks/img/*.png \ @@ -37,9 +35,8 @@ folkstelepathyimg_DATA = \ $(folksdoc_DATA) $(folksimg_DATA): folks-doc $(folkstelepathydoc_DATA) $(folkstelepathyimg_DATA): folks-telepathy-doc -# FIXME: disabled due to continued brokenness in valadoc (related to bgo#629531) -#$(folksgtkdoc_DATA): folks-gtk-doc -#$(folkstelepathygtkdoc_DATA): folks-telepathy-gtk-doc +$(folksgtkdoc_DATA): folks-gtk-doc +$(folkstelepathygtkdoc_DATA): folks-telepathy-gtk-doc valadoc_flags = \ --force \ @@ -69,14 +66,13 @@ folks-doc: $(folks_doc_files) $(valadoc_flags_folks) \ $(NULL) -# FIXME: disabled due to continued brokenness in valadoc (related to bgo#629531) -#folks-gtk-doc: $(folks_doc_files) -# $(AM_V_GEN)$(VALADOC) \ -# -X -l -X $(top_builddir)/folks/.libs/libfolks.so \ -# -o gtk-doc/folks \ -# --doclet=gtkdoc \ -# $(valadoc_flags_folks) \ -# $(NULL) +folks-gtk-doc: $(folks_doc_files) + $(AM_V_GEN)$(VALADOC) \ + -X -l -X $(top_builddir)/folks/.libs/libfolks.so \ + -o gtk-doc/folks \ + --doclet=gtkdoc \ + $(valadoc_flags_folks) \ + $(NULL) # folks-telepathy documentation folks_telepathy_doc_files = $(top_srcdir)/backends/telepathy/lib/*.vala @@ -106,20 +102,17 @@ folks-telepathy-doc: $(folks_telepathy_doc_files) $(valadoc_flags_folks_telepathy) \ $(NULL) -# FIXME: disabled due to continued brokenness in valadoc (related to bgo#629531) -#folks-telepathy-gtk-doc: $(folks_telepathy_doc_files) -# $(AM_V_GEN)$(VALADOC) \ -# -X -l -X $(top_builddir)/folks/.libs/libfolks.so \ -# -X -l -X $(top_builddir)/backends/telepathy/lib/.libs/libfolks-telepathy.so \ -# -X --ignore-headers -X $(top_srcdir)/backends/telepathy/lib/tp-lowlevel.h \ -# -o gtk-doc/folks-telepathy \ -# --doclet=gtkdoc \ -# $(valadoc_flags_folks_telepathy) \ -# $(NULL) - -# FIXME: disabled due to continued brokenness in valadoc (related to bgo#629531) -#.PHONY: folks-doc folks-gtk-doc folks-telepathy-doc folks-telepathy-gtk-doc -.PHONY: folks-doc folks-telepathy-doc +folks-telepathy-gtk-doc: $(folks_telepathy_doc_files) + $(AM_V_GEN)$(VALADOC) \ + -X -l -X $(top_builddir)/folks/.libs/libfolks.so \ + -X -l -X $(top_builddir)/backends/telepathy/lib/.libs/libfolks-telepathy.so \ + -X --ignore-headers -X $(top_srcdir)/backends/telepathy/lib/tp-lowlevel.h \ + -o gtk-doc/folks-telepathy \ + --doclet=gtkdoc \ + $(valadoc_flags_folks_telepathy) \ + $(NULL) + +.PHONY: folks-doc folks-gtk-doc folks-telepathy-doc folks-telepathy-gtk-doc distclean-local: distclean-docs distclean-docs: -- cgit v1.2.3