~ubuntu-branches/ubuntu/precise/libgrip/precise

« back to all changes in this revision

Viewing changes to doc/reference/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Chase Douglas
  • Date: 2011-08-09 16:33:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110809163326-p2ky362j7dbl0d99
Tags: 0.3.0-0ubuntu1
* New upstream release.
  - Add documentation (LP: #744911)
  - Expose device type and attributes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
# This is a blank Makefile.am for using gtk-doc.
 
4
# Copy this to your project's API docs directory and modify the variables to
 
5
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
 
6
# of using the various options.
 
7
 
 
8
# The name of the module, e.g. 'glib'.
 
9
DOC_MODULE=libgrip
 
10
 
 
11
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
 
12
#DOC_MODULE_VERSION=2
 
13
 
 
14
 
 
15
# The top-level SGML file. You can change this if you want to.
 
16
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
 
17
 
 
18
# Directories containing the source code, relative to $(srcdir).
 
19
# gtk-doc will search all .c and .h files beneath these paths
 
20
# for inline comments documenting functions and macros.
 
21
# e.g. DOC_SOURCE_DIR=../../../gtk ../../../gdk
 
22
DOC_SOURCE_DIR=$(top_srcdir)/src
 
23
 
 
24
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
 
25
SCANGOBJ_OPTIONS=
 
26
 
 
27
# Extra options to supply to gtkdoc-scan.
 
28
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
 
29
#SCAN_OPTIONS=--rebuild-types
 
30
SCAN_OPTIONS=
 
31
 
 
32
# Extra options to supply to gtkdoc-mkdb.
 
33
# e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
 
34
MKDB_OPTIONS=--xml-mode --output-format=xml
 
35
 
 
36
# Extra options to supply to gtkdoc-mktmpl
 
37
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
 
38
MKTMPL_OPTIONS=
 
39
 
 
40
# Extra options to supply to gtkdoc-mkhtml
 
41
MKHTML_OPTIONS=
 
42
 
 
43
# Extra options to supply to gtkdoc-fixref. Not normally needed.
 
44
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
 
45
FIXXREF_OPTIONS=
 
46
 
 
47
# Used for dependencies. The docs will be rebuilt if any of these change.
 
48
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
 
49
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
 
50
HFILE_GLOB=$(DOC_SOURCE_DIR)/*.h
 
51
CFILE_GLOB=$(DOC_SOURCE_DIR)/*.c
 
52
 
 
53
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
 
54
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
 
55
EXTRA_HFILES=
 
56
 
 
57
# Header files or dirs to ignore when scanning. Use base file/dir names
 
58
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
 
59
IGNORE_HFILES=
 
60
 
 
61
# Images to copy into HTML directory.
 
62
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
 
63
HTML_IMAGES=
 
64
 
 
65
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
 
66
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
 
67
content_files=
 
68
 
 
69
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
 
70
# These files must be listed here *and* in content_files
 
71
# e.g. expand_content_files=running.sgml
 
72
expand_content_files=
 
73
 
 
74
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
 
75
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
 
76
# signals and properties.
 
77
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
 
78
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
 
79
GTKDOC_CFLAGS=$(GTK_CFLAGS)
 
80
GTKDOC_LIBS=$(top_builddir)/src/libgrip.la $(GTK_LIBS)
 
81
 
 
82
# This includes the standard gtk-doc make rules, copied by gtkdocize.
 
83
include $(top_srcdir)/gtk-doc.make
 
84
 
 
85
# Other files to distribute
 
86
# e.g. EXTRA_DIST += version.xml.in
 
87
EXTRA_DIST += libgrip-docs.sgml.in
 
88
 
 
89
# Files not to distribute
 
90
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
 
91
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
 
92
#DISTCLEANFILES +=
 
93
 
 
94
# Comment this out if you want 'make check' to test you doc status
 
95
# and run some sanity checks
 
96
if ENABLE_GTK_DOC
 
97
TESTS_ENVIRONMENT = cd $(srcdir) && \
 
98
  DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
 
99
  SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
 
100
#TESTS = $(GTKDOC_CHECK)
 
101
endif
 
102
 
 
103
dist-hook-local: gtk-docs-clean all-local
 
104
 
 
105
gtk-docs-clean: clean
 
106
        rm -rf xml tmpl html
 
107