Debian Codegraph @

docs/libdbusmenu-gtk/reference/Makefile.am

raw
1
2 ## Process this file with automake to produce Makefile.in
3
4 if USE_GTK3
5 VER=3
6 else
7 VER=
8 endif
9
10 # We require automake 1.6 at least.
11 AUTOMAKE_OPTIONS = 1.6
12
13 # This is a blank Makefile.am for using gtk-doc.
14 # Copy this to your project's API docs directory and modify the variables to
15 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
16 # of using the various options.
17
18 # The name of the module, e.g. 'glib'.
19 DOC_MODULE=libdbusmenu-gtk
20
21 # The top-level SGML file. You can change this if you want to.
22 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
23
24 # The directory containing the source code. Relative to $(srcdir).
25 # gtk-doc will search all .c & .h files beneath here for inline comments
26 # documenting the functions and macros.
27 # e.g. DOC_SOURCE_DIR=../../../gtk
28 DOC_SOURCE_DIR=$(abs_top_srcdir)/libdbusmenu-gtk
29
30 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
31 SCANGOBJ_OPTIONS=--nogtkinit
32
33 # Extra options to supply to gtkdoc-scan.
34 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
35 SCAN_OPTIONS=
36
37 # Extra options to supply to gtkdoc-mkdb.
38 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
39 MKDB_OPTIONS=--sgml-mode --output-format=xml
40
41 # Extra options to supply to gtkdoc-mktmpl
42 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
43 MKTMPL_OPTIONS=
44
45 # Extra options to supply to gtkdoc-fixref. Not normally needed.
46 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
47 FIXXREF_OPTIONS=
48
49 # Used for dependencies. The docs will be rebuilt if any of these change.
50 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
51 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
52 HFILE_GLOB=$(top_srcdir)/libdbusmenu-gtk/*.h
53 CFILE_GLOB=$(top_srcdir)/libdbusmenu-gtk/*.c
54
55 # Header files to ignore when scanning.
56 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
57 IGNORE_HFILES=genericmenuitem.h genericmenuitem-enum-types.h
58
59 # Images to copy into HTML directory.
60 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
61 HTML_IMAGES=
62
63 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
64 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
65 content_files=version.xml
66
67 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
68 # These files must be listed here *and* in content_files
69 # e.g. expand_content_files=running.sgml
70 expand_content_files=
71
72 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
73 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
74 # signals and properties.
75 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
76 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
77 INCLUDES=-I$(top_srcdir) $(DBUSMENUGLIB_CFLAGS) $(DBUSMENUGTK_CFLAGS)
78 GTKDOC_LIBS=$(top_builddir)/libdbusmenu-gtk/libdbusmenu-gtk$(VER).la $(DBUSMENUGLIB_LIBS) $(DBUSMENUGTK_LIBS)
79
80 # This includes the standard gtk-doc make rules, copied by gtkdocize.
81 include $(top_srcdir)/gtk-doc.make
82
83 # Other files to distribute
84 # e.g. EXTRA_DIST += version.xml.in
85 EXTRA_DIST += version.xml.in
86
87 # Files not to distribute
88 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
89 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
90 #DISTCLEANFILES +=
91
92 if ENABLE_GTK_DOC
93 TESTS_ENVIRONMENT = cd $(srcdir) && \
94 DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
95 SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
96 endif
97