summaryrefslogtreecommitdiff
path: root/docs/Makefile.am
blob: 45dd77f07a3e569a2da40c75cd77ec6d272d5196 (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

NULL =

AUTOMAKE_OPTIONS = 1.7

# The name of the module.
DOC_MODULE=polkit-gtk-mate-1

# The top-level SGML file.
DOC_MAIN_SGML_FILE=polkit-gtk-mate-1-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=../polkitgtkmate

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

# Headers to ignore
IGNORE_HFILES= \
	$(NULL)

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
AM_CPPFLAGS = \
	$(POLKIT_GOBJECT_CFLAGS)				\
	$(GTK_CFLAGS)						\
	-I$(top_srcdir)/polkitgtkmate 				\
	$(NULL)

GTKDOC_LIBS = \
	$(POLKIT_GOBJECT_LIBS)					\
	$(GTK_LIBS)						\
	$(top_builddir)/polkitgtkmate/libpolkit-gtk-mate-1.la		\
	$(NULL)

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

# 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			    			\
	$(NULL)

# Images to copy into HTML directory
HTML_IMAGES = 							\
	polkit-lock-button-locked.png				\
	polkit-lock-button-not-authorized.png			\
	polkit-lock-button-unlocked.png				\
	polkit-lock-button-lock-down.png			\
	$(NULL)

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=

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

CLEANFILES +=   *~				\
		polkit-gtk-mate-1-scan.*		\
		polkit-gtk-mate-1.args		\
		polkit-gtk-mate-1.hierarchy		\
		polkit-gtk-mate-1.interfaces		\
		polkit-gtk-mate-1.prerequisites	\
		polkit-gtk-mate-1.signals		\
		*.bak				\
		polkit-gtk-mate-1-decl-list.txt	\
		polkit-gtk-mate-1-decl.txt		\
		polkit-gtk-mate-1-overrides.txt	\
		polkit-gtk-mate-1-undeclared.txt	\
		polkit-gtk-mate-1-undocumented.txt	\
		*.stamp				\
		version.xml			\
		-rf html xml			\
		$(NULL)