summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 9a27a58d0d12b1af71874c3b4cd88862a54e7dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98

SUBDIRS = man dbus

NULL =

AUTOMAKE_OPTIONS = 1.7

# The name of the module.
DOC_MODULE=UPower

# The top-level SGML file.
DOC_MAIN_SGML_FILE=upower-docs.xml

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--ignore-headers=config.h

# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../libupower-glib

# Used for dependencies
HFILE_GLOB=
#$(top_srcdir)/policy/*.h
CFILE_GLOB=
#$(top_srcdir)/policy/*.c

# Headers to ignore
IGNORE_HFILES= \
	config.h					\
	$(NULL)

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
INCLUDES = \
	$(DBUS_GLIB_CFLAGS)		\
	$(GLIB_CFLAGS)			\
	-I$(top_srcdir)/libupower-glib 		\
	-I$(top_builddir)/libupower-glib	\
	$(NULL)

UPOWER_GLIB_LIBS =						\
	$(top_builddir)/libupower-glib/libupower-glib.la	\
	$(NULL)

GTKDOC_LIBS = 			\
	$(UPOWER_GLIB_LIBS)					\
	$(DBUS_GLIB_LIBS)	\
	$(NULL)

# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--sgml-mode --output-format=xml

# Extra options to supply to gtkdoc-mktmpl
MKTMPL_OPTIONS=

# Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
content_files =  			    				\
	version.xml			    				\
	man/upower.xml		    					\
	man/upowerd.xml		    					\
	man/UPower.xml		    					\
	dbus/org.freedesktop.UPower.ref.xml				\
	dbus/org.freedesktop.UPower.Device.ref.xml			\
	dbus/org.freedesktop.UPower.QoS.ref.xml				\
	dbus/org.freedesktop.UPower.KbdBacklight.ref.xml		\
	$(NULL)

# Images to copy into HTML directory
HTML_IMAGES = 				\
	$(NULL)

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=

MAINTAINERCLEANFILES =		\
	*~			\
	Makefile.in		\
	UPower.types		\
	UPower-*.txt

DISTCLEANFILES =					\
	org.freedesktop.UPower.Device.ref.xml		\
	org.freedesktop.UPower.KbdBacklight.ref.xml	\
	org.freedesktop.UPower.QoS.ref.xml		\
	org.freedesktop.UPower.ref.xml			\
	upowerd.xml					\
	upower.xml					\
	UPower.xml

if ENABLE_GTK_DOC
include $(top_srcdir)/gtk-doc.make
else
EXTRA_DIST =
endif

# Version information for marking the documentation
EXTRA_DIST += version.xml.in

-include $(top_srcdir)/git.mk