From: Travis Reitter Date: Mon, 18 Oct 2010 20:00:13 +0000 (-0700) Subject: Generate gtk-doc for libfolks and libfolks-telepathy. X-Git-Tag: FOLKS_0_3_3~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8f9d86da76bc1158136e6140b76e1adfb6e6c4f;p=platform%2Fupstream%2Ffolks.git Generate gtk-doc for libfolks and libfolks-telepathy. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 2e7a2b0..feea644 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -1,7 +1,9 @@ folksdocdir=$(datadir)/devhelp/references/folks folksimgdir=$(datadir)/devhelp/references/folks/img +folksgtkdocdir=$(datadir)/gtk-doc/html/folks folkstelepathydocdir=$(datadir)/devhelp/references/folks-telepathy folkstelepathyimgdir=$(datadir)/devhelp/references/folks-telepathy/img +folkstelepathygtkdocdir=$(datadir)/gtk-doc/html/folks-telepathy common_doc_files = \ *.css \ @@ -15,10 +17,12 @@ folksdoc_DATA = \ folks/folks/folks.devhelp2 \ $(addprefix folks/folks/,$(common_doc_files)) \ $(NULL) +folksgtkdoc_DATA = gtk-doc/folks/html/* folkstelepathydoc_DATA = \ folks-telepathy/folks-telepathy/folks-telepathy.devhelp2 \ $(addprefix folks-telepathy/folks-telepathy/,$(common_doc_files)) \ $(NULL) +folkstelepathygtkdoc_DATA = gtk-doc/folks-telepathy/html/* folksimg_DATA = \ folks/folks/img/*.png \ @@ -28,10 +32,13 @@ folkstelepathyimg_DATA = \ $(NULL) $(folksdoc_DATA) $(folksimg_DATA): folks-doc +$(folksgtkdoc_DATA): folks-gtk-doc $(folkstelepathydoc_DATA) $(folkstelepathyimg_DATA): folks-telepathy-doc +$(folkstelepathygtkdoc_DATA): folks-telepathy-gtk-doc valadoc_flags = \ --force \ + --package-version $(PACKAGE_VERSION) \ $(NULL) # folks documentation @@ -57,6 +64,14 @@ folks-doc: $(folks_doc_files) $(valadoc_flags_folks) \ $(NULL) +folks-gtk-doc: $(folks_doc_files) + $(AM_V_GEN)$(VALADOC) \ + -X -l -X $(top_srcdir)/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 folks_telepathy_doc_deps = \ @@ -85,16 +100,28 @@ folks-telepathy-doc: $(folks_telepathy_doc_files) $(valadoc_flags_folks_telepathy) \ $(NULL) -.PHONY: folks-doc folks-telepathy-doc +folks-telepathy-gtk-doc: $(folks_telepathy_doc_files) + $(AM_V_GEN)$(VALADOC) \ + -X -l \ + -X $(top_srcdir)/folks/.libs/libfolks.so \ + -X $(top_srcdir)/backends/telepathy/lib/.libs/libfolks-telepathy.so \ + -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: rm -rf folks && \ - rm -rf folks-telepathy + rm -rf folks-telepathy && \ + rm -rf gtk-doc GITIGNOREFILES = \ folks/ \ folks-telepathy/ \ + gtk-doc/ \ $(NULL) -include $(top_srcdir)/git.mk