~dbusmenu-team/libdbusmenu/trunk.16.10

« back to all changes in this revision

Viewing changes to docs/libdbusmenu-gtk/reference/Makefile.am

  • Committer: Tarmac
  • Author(s): Ted Gould, Ken VanDine, Mathieu Trudel-Lapierre, Didier Roche, Sebastien Bacher, Evgeni Golov, Charles Kerr, sargentd at die-welt, Michael Terry, Ted Gould, robert.ancell at canonical
  • Date: 2012-12-18 20:06:31 UTC
  • mfrom: (434.2.3 libdbusmenu)
  • Revision ID: tarmac-20121218200631-mxl1ooc4rf7w9710
Properly inline + fixes for gtkdoc tests (much of the gtkdoc work done by Charles).

Approved by Charles Kerr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
# gtk-doc will search all .c & .h files beneath here for inline comments
26
26
# documenting the functions and macros.
27
27
# e.g. DOC_SOURCE_DIR=../../../gtk
28
 
DOC_SOURCE_DIR=../../../libdbusmenu-gtk
 
28
DOC_SOURCE_DIR=$(abs_top_srcdir)/libdbusmenu-gtk
29
29
 
30
30
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
31
31
SCANGOBJ_OPTIONS=--nogtkinit --type-init-func="g_type_init()"
78
78
GTKDOC_LIBS=$(top_builddir)/libdbusmenu-gtk/libdbusmenu-gtk$(VER).la $(DBUSMENUGLIB_LIBS) $(DBUSMENUGTK_LIBS)
79
79
 
80
80
# This includes the standard gtk-doc make rules, copied by gtkdocize.
81
 
include $(top_srcdir)/gtk-doc.local.make
 
81
include $(top_srcdir)/gtk-doc.make
82
82
 
83
83
# Other files to distribute
84
84
# e.g. EXTRA_DIST += version.xml.in
89
89
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
90
90
#DISTCLEANFILES +=
91
91
 
92
 
# Comment this out if you want your docs-status tested during 'make check'
93
 
TESTS = gtkdoc-in-srcdir
94
 
 
95
 
gtkdoc-in-srcdir: Makefile.am
96
 
        @echo "#!/bin/sh" > $@
97
 
        @echo "cd \"$(srcdir)\"" >> $@
98
 
        @echo "$(GTKDOC_CHECK)" >> $@
99
 
        @chmod +x $@
100
 
 
101
 
DISTCLEANFILES = gtkdoc-in-srcdir
 
92
# Comment this out if you want 'make check' to test you doc status
 
93
# and run some sanity checks
 
94
if ENABLE_GTK_DOC
 
95
 TESTS_ENVIRONMENT = cd $(srcdir) && \
 
96
   DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
 
97
   SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
 
98
TESTS = $(GTKDOC_CHECK)
 
99
endif
 
100