From effd665a42d8cd01fd72549150fb1fd029ad8d3f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 30 Nov 2012 11:09:57 -0600 Subject: update our use of gtk-doc from 1.9 to 1.18. --- docs/reference/Makefile.am | 20 ++++++------ docs/reference/tmpl/libappindicator-unused.sgml | 42 ------------------------- 2 files changed, 9 insertions(+), 53 deletions(-) delete mode 100644 docs/reference/tmpl/libappindicator-unused.sgml (limited to 'docs') diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 8f87b34..f3c7fa7 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -102,7 +102,7 @@ GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src $(LIBRARY_ GTKDOC_LIBS=$(top_builddir)/src/$(APPINDICATORLIB) $(LIBRARY_LIBS) # This includes the standard gtk-doc make rules, copied by gtkdocize. -include $(top_srcdir)/gtk-doc.local.make +include $(top_srcdir)/gtk-doc.make # Other files to distribute # e.g. EXTRA_DIST += version.xml.in @@ -113,13 +113,11 @@ EXTRA_DIST += version.xml.in libappindicator-docs.sgml.in # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += -# Comment this out if you want your docs-status tested during 'make check' -TESTS = gtkdoc-in-srcdir - -gtkdoc-in-srcdir: Makefile.am - @echo "#!/bin/sh" > $@ - @echo "cd \"$(srcdir)\"" >> $@ - @echo "$(GTKDOC_CHECK)" >> $@ - @chmod +x $@ -DISTCLEANFILES = gtkdoc-in-srcdir - +# Comment this out if you want 'make check' to test you doc status +# and run some sanity checks +if ENABLE_GTK_DOC + TESTS_ENVIRONMENT = cd $(srcdir) && \ + DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ + SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) +#TESTS = $(GTKDOC_CHECK) +endif diff --git a/docs/reference/tmpl/libappindicator-unused.sgml b/docs/reference/tmpl/libappindicator-unused.sgml deleted file mode 100644 index 789a03f..0000000 --- a/docs/reference/tmpl/libappindicator-unused.sgml +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - -@appindicator: the object which received the signal. -@arg1: - - - - - - - - - - - - - - - - - - -@self: -@Returns: - - - - - - -@self: -@accessible_desc: - -- cgit v1.2.3