Makefile.am 16.6 KB
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1 2
## Process this file with automake to produce Makefile.in

3 4
AUTOMAKE_OPTIONS = 1.6

Owen Taylor's avatar
Owen Taylor committed
5
# The name of the module.
6
DOC_MODULE=gtk3
Owen Taylor's avatar
Owen Taylor committed
7 8 9 10

# The top-level SGML file.
DOC_MAIN_SGML_FILE=gtk-docs.sgml

11
# Extra options to supply to gtkdoc-scan
12
SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
13

14
# The directory containing the source code. Relative to $(srcdir)
15
DOC_SOURCE_DIR=$(top_srcdir)/gtk
16

17 18 19 20
# Used for dependencies
HFILE_GLOB=$(top_srcdir)/gtk/*.h
CFILE_GLOB=$(top_srcdir)/gtk/*.c

21
# Header files to ignore when scanning
22 23
IGNORE_HFILES=				\
	fnmatch.h			\
Carlos Garnacho's avatar
Carlos Garnacho committed
24 25
	gtk9slice.h			\
	gtkanimationdescription.h	\
26
	gtkdebug.h			\
Matthias Clasen's avatar
2.11.3  
Matthias Clasen committed
27
	gtkbuilderprivate.h		\
Matthias Clasen's avatar
Matthias Clasen committed
28
	gtkdndcursors.h			\
Matthias Clasen's avatar
Matthias Clasen committed
29
	gtkentryprivate.h		\
30
	gtkfilechooserdefault.h		\
Owen Taylor's avatar
Owen Taylor committed
31
	gtkfilechooserembed.h		\
32
	gtkfilechooserentry.h		\
Matthias Clasen's avatar
Matthias Clasen committed
33
	gtkfilechooserprivate.h		\
Matthias Clasen's avatar
Matthias Clasen committed
34
	gtkfilechoosersettings.h	\
35 36 37 38
	gtkfilechooserutils.h		\
	gtkfilesystem.h			\
	gtkfilesystemmodel.h		\
	gtkfilesystemunix.h		\
39
	gtkfilesystemwin32.h		\
Matthias Clasen's avatar
Matthias Clasen committed
40
	gtkiconcache.h			\
Matthias Clasen's avatar
Matthias Clasen committed
41
        gtkiconcachevalidator.h         \
42 43 44 45
	gtkiconthemeparser.h		\
	gtkintl.h			\
	gtkkeyhash.h			\
	gtkmarshal.h			\
46
	gtkmenuprivate.h		\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
47
	gtkmnemonichash.h		\
48
	gtkpathbar.h			\
Matthias Clasen's avatar
Matthias Clasen committed
49
	gtkplugprivate.h		\
50
	gtkprintbackend.h		\
Matthias Clasen's avatar
Matthias Clasen committed
51 52
	gtkprinteroption.h		\
	gtkprinteroptionset.h		\
53 54
	gtkprinteroptionwidget.h	\
	gtkprinter-private.h		\
Matthias Clasen's avatar
Matthias Clasen committed
55 56
	gtkprint-win32.h		\
	gtkprintutils.h			\
57
	gtkprintoperation-private.h	\
58
	gtkprivate.h			\
Matthias Clasen's avatar
Matthias Clasen committed
59
	gtkquery.h			\
60
	gtkrbtree.h			\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
61
	gtkrecentchooserdefault.h	\
Matthias Clasen's avatar
Matthias Clasen committed
62
	gtkrecentchooserutils.h		\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
63
	gtkrecentchooserprivate.h	\
Matthias Clasen's avatar
Matthias Clasen committed
64 65 66 67
	gtksearchengine.h		\
	gtksearchenginebeagle.h		\
	gtksearchenginetracker.h	\
	gtksearchenginesimple.h		\
Matthias Clasen's avatar
Matthias Clasen committed
68
	gtksearchenginequartz.h		\
Matthias Clasen's avatar
Matthias Clasen committed
69
	gtksequence.h			\
Matthias Clasen's avatar
Matthias Clasen committed
70
	gtksocketprivate.h		\
71
	gtktextbtree.h			\
Matthias Clasen's avatar
Matthias Clasen committed
72 73
	gtktextbufferserializ.h		\
	gtktextchildprivate.h		\
74 75 76 77 78 79 80 81
	gtktextdisplay.h		\
	gtktextiterprivate.h		\
	gtktextlayout.h			\
	gtktextmarkprivate.h		\
	gtktextsegment.h		\
	gtktexttagprivate.h		\
	gtktexttypes.h			\
	gtktextutil.h			\
Carlos Garnacho's avatar
Carlos Garnacho committed
82
	gtktimeline.h			\
Matthias Clasen's avatar
Matthias Clasen committed
83
	gtkthemes.h			\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
84
	gtktrayicon.h			\
Matthias Clasen's avatar
Matthias Clasen committed
85 86
	gtktreedatalist.h		\
	gtktreeprivate.h		\
Johannes Schmid's avatar
Johannes Schmid committed
87
	gtktoolpaletteprivate.h		\
88 89
	gtktypebuiltins.h		\
	gtkxembed.h			\
Matthias Clasen's avatar
Matthias Clasen committed
90
	gtkwin32embed.h			\
Matthias Clasen's avatar
Matthias Clasen committed
91
	gtkwin32embedwidget.h		\
92
	gtkwindow-decorate.h		\
93
	xdgmime				\
Matthias Clasen's avatar
Matthias Clasen committed
94
	xembed.h
95

96 97
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
98
AM_CPPFLAGS = \
99 100 101 102 103 104 105
	-I$(top_srcdir) 	\
	-I$(top_builddir) 	\
	-I$(top_builddir)/gdk	\
	-DGTK_ENABLE_BROKEN	\
	$(GTK_DEBUG_FLAGS)	\
	$(GTK_DEP_CFLAGS)

106 107 108
CPPFLAGS += \
	-UGTK_DISABLE_SINGLE_INCLUDES

109
GTKDOC_LIBS = \
110
	$(top_builddir)/gdk/libgdk-3.la \
Matthias Clasen's avatar
Matthias Clasen committed
111
	$(top_builddir)/gtk/libgtk-3.la	\
112
	$(GTK_DEP_LIBS)
113 114 115


# Extra options to supply to gtkdoc-mkdb
116
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=gtk
117 118

# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
119 120 121 122 123
content_files =					\
	version.xml				\
	running.sgml				\
	building.sgml				\
	compiling.sgml				\
124
	drawing-model.xml			\
125
	glossary.xml				\
126
	migrating-2to3.xml			\
127
	migrating-checklist.sgml		\
128 129
	migrating-unique-GtkApplication.xml	\
	migrating-smclient-GtkApplication.xml	\
130
	migrating-GtkGrid.xml			\
131
	migrating-GtkStyleContext.xml		\
132
	objects_grouped.sgml			\
Matthias Clasen's avatar
Matthias Clasen committed
133
	osx.sgml				\
134
	broadway.xml				\
135
	wayland.xml				\
136 137 138 139 140 141
	question_index.sgml			\
	resources.sgml				\
	text_widget.sgml			\
	tree_widget.sgml			\
	windows.sgml				\
	x11.sgml				\
142
	gtk-query-immodules-3.0.xml		\
143
	gtk-update-icon-cache.xml		\
Tomáš Bžatek's avatar
Tomáš Bžatek committed
144
	gtk-launch.xml				\
145
	visual_index.xml			\
146 147
	getting_started.xml			\
	overview.xml
148

149
expand_content_files = 				\
150
	compiling.sgml				\
151
	drawing-model.xml			\
152
	getting_started.xml			\
Matthias Clasen's avatar
Matthias Clasen committed
153
	glossary.xml				\
154
	migrating-2to3.xml			\
Matthias Clasen's avatar
Matthias Clasen committed
155
	migrating-checklist.sgml		\
156 157
	migrating-unique-GtkApplication.xml	\
	migrating-smclient-GtkApplication.xml	\
158
	migrating-GtkGrid.xml			\
159
	migrating-GtkStyleContext.xml		\
160
	question_index.sgml			\
Matthias Clasen's avatar
Matthias Clasen committed
161
	text_widget.sgml			\
162
	tree_widget.sgml
163

164
# Images to copy into HTML directory
165
HTML_IMAGES = \
Matthias Clasen's avatar
Matthias Clasen committed
166 167
	$(top_srcdir)/gtk/stock-icons/24/help-about.png			\
	$(top_srcdir)/gtk/stock-icons/24/list-add.png			\
168
	$(top_srcdir)/gtk/stock-icons/20/gtk-apply.png			\
169
	$(top_srcdir)/gtk/stock-icons/24/format-text-bold.png		\
170
	$(top_srcdir)/gtk/stock-icons/20/gtk-cancel.png			\
171
	$(top_srcdir)/gtk/stock-icons/24/gtk-caps-lock-warning.png	\
Matthias Clasen's avatar
Matthias Clasen committed
172
	$(top_srcdir)/gtk/stock-icons/24/media-optical.png		\
173
	$(top_srcdir)/gtk/stock-icons/24/edit-clear.png			\
Matthias Clasen's avatar
Matthias Clasen committed
174
	$(top_srcdir)/gtk/stock-icons/24/window-close.png		\
175 176
	$(top_srcdir)/gtk/stock-icons/24/gtk-connect.png		\
	$(top_srcdir)/gtk/stock-icons/24/gtk-convert.png		\
Matthias Clasen's avatar
Matthias Clasen committed
177 178 179 180 181
	$(top_srcdir)/gtk/stock-icons/24/edit-copy.png			\
	$(top_srcdir)/gtk/stock-icons/24/edit-cut.png			\
	$(top_srcdir)/gtk/stock-icons/24/edit-delete.png		\
	$(top_srcdir)/gtk/stock-icons/48/dialog-password.png		\
	$(top_srcdir)/gtk/stock-icons/48/dialog-error.png		\
182
	$(top_srcdir)/gtk/stock-icons/48/dialog-information.png		\
Matthias Clasen's avatar
Matthias Clasen committed
183 184 185
	$(top_srcdir)/gtk/stock-icons/48/dialog-question.png		\
	$(top_srcdir)/gtk/stock-icons/48/dialog-warning.png		\
	$(top_srcdir)/gtk/stock-icons/24/folder.png			\
186 187 188 189
	$(top_srcdir)/gtk/stock-icons/24/gtk-disconnect.png		\
	$(top_srcdir)/gtk/stock-icons/32/gtk-dnd.png			\
	$(top_srcdir)/gtk/stock-icons/32/gtk-dnd-multiple.png		\
	$(top_srcdir)/gtk/stock-icons/24/gtk-edit.png			\
Matthias Clasen's avatar
Matthias Clasen committed
190
	$(top_srcdir)/gtk/stock-icons/24/system-run.png			\
Benjamin Otte's avatar
Benjamin Otte committed
191
	$(top_srcdir)/gtk/stock-icons/24/text-x-generic.png		\
Matthias Clasen's avatar
Matthias Clasen committed
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
	$(top_srcdir)/gtk/stock-icons/24/edit-find.png			\
	$(top_srcdir)/gtk/stock-icons/24/edit-find-replace.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-bottom.png			\
	$(top_srcdir)/gtk/stock-icons/24/go-first-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-first-rtl.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-last-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-last-rtl.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-top.png			\
	$(top_srcdir)/gtk/stock-icons/24/go-previous-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-previous-rtl.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-down.png			\
	$(top_srcdir)/gtk/stock-icons/24/go-next-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-next-rtl.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-up.png			\
	$(top_srcdir)/gtk/stock-icons/24/drive-harddisk.png		\
	$(top_srcdir)/gtk/stock-icons/24/network-idle.png		\
	$(top_srcdir)/gtk/stock-icons/24/help-contents.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-home.png			\
210
	$(top_srcdir)/gtk/stock-icons/24/gtk-index.png			\
Matthias Clasen's avatar
Matthias Clasen committed
211 212 213 214 215 216 217 218 219 220 221 222 223
	$(top_srcdir)/gtk/stock-icons/24/format-indent-more-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-indent-more-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-indent-less-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-indent-less-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-text-italic.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-jump-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/go-jump-rtl.png		\
	$(top_srcdir)/gtk/stock-icons/24/format-justify-center.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-justify-fill.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-justify-left.png	\
	$(top_srcdir)/gtk/stock-icons/24/format-justify-right.png	\
	$(top_srcdir)/gtk/stock-icons/24/image-missing.png		\
	$(top_srcdir)/gtk/stock-icons/24/document-new.png		\
224 225
	$(top_srcdir)/gtk/stock-icons/20/gtk-no.png			\
	$(top_srcdir)/gtk/stock-icons/20/gtk-ok.png			\
Matthias Clasen's avatar
Matthias Clasen committed
226
	$(top_srcdir)/gtk/stock-icons/24/document-open.png		\
Matthias Clasen's avatar
Matthias Clasen committed
227
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-landscape.png	\
Matthias Clasen's avatar
Matthias Clasen committed
228 229
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-portrait.png	\
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-landscape.png \
230
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-portrait.png \
Matthias Clasen's avatar
Matthias Clasen committed
231
	$(top_srcdir)/gtk/stock-icons/24/edit-paste.png			\
232
	$(top_srcdir)/gtk/stock-icons/24/gtk-preferences.png		\
Matthias Clasen's avatar
Matthias Clasen committed
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
	$(top_srcdir)/gtk/stock-icons/24/document-print.png		\
	$(top_srcdir)/gtk/stock-icons/24/printer-error.png		\
	$(top_srcdir)/gtk/stock-icons/24/printer-paused.png		\
	$(top_srcdir)/gtk/stock-icons/24/document-print-preview.png	\
	$(top_srcdir)/gtk/stock-icons/24/printer-info.png		\
	$(top_srcdir)/gtk/stock-icons/24/printer-warning.png		\
	$(top_srcdir)/gtk/stock-icons/24/document-properties.png	\
	$(top_srcdir)/gtk/stock-icons/24/application-exit.png		\
	$(top_srcdir)/gtk/stock-icons/24/edit-redo-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/edit-redo-rtl.png		\
	$(top_srcdir)/gtk/stock-icons/24/view-refresh.png		\
	$(top_srcdir)/gtk/stock-icons/24/list-remove.png		\
	$(top_srcdir)/gtk/stock-icons/24/document-revert-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/document-revert-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-floppy.png		\
	$(top_srcdir)/gtk/stock-icons/24/document-save.png		\
	$(top_srcdir)/gtk/stock-icons/24/document-save-as.png		\
	$(top_srcdir)/gtk/stock-icons/24/edit-select-all.png		\
251 252 253
	$(top_srcdir)/gtk/stock-icons/24/gtk-select-color.png		\
	$(top_srcdir)/gtk/stock-icons/24/gtk-color-picker.png		\
	$(top_srcdir)/gtk/stock-icons/24/gtk-font.png			\
Matthias Clasen's avatar
Matthias Clasen committed
254 255 256 257
	$(top_srcdir)/gtk/stock-icons/24/view-sort-ascending.png	\
	$(top_srcdir)/gtk/stock-icons/24/view-sort-descending.png	\
	$(top_srcdir)/gtk/stock-icons/24/tools-check-spelling.png	\
	$(top_srcdir)/gtk/stock-icons/24/process-stop.png		\
258
	$(top_srcdir)/gtk/stock-icons/24/format-text-strikethrough.png	\
259 260
	$(top_srcdir)/gtk/stock-icons/24/gtk-undelete-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/gtk-undelete-rtl.png		\
Matthias Clasen's avatar
Matthias Clasen committed
261 262 263
	$(top_srcdir)/gtk/stock-icons/24/format-text-underline.png	\
	$(top_srcdir)/gtk/stock-icons/24/edit-undo-ltr.png		\
	$(top_srcdir)/gtk/stock-icons/24/edit-undo-rtl.png		\
264
	$(top_srcdir)/gtk/stock-icons/20/gtk-yes.png			\
Matthias Clasen's avatar
Matthias Clasen committed
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
	$(top_srcdir)/gtk/stock-icons/24/zoom-original.png		\
	$(top_srcdir)/gtk/stock-icons/24/zoom-fit-best.png		\
	$(top_srcdir)/gtk/stock-icons/24/zoom-in.png			\
	$(top_srcdir)/gtk/stock-icons/24/zoom-out.png			\
	$(top_srcdir)/gtk/stock-icons/24/media-seek-forward-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-seek-forward-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-skip-forward-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-skip-forward-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-playback-pause.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-playback-start-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-playback-start-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-seek-backward-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-seek-backward-rtl.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-record.png		\
	$(top_srcdir)/gtk/stock-icons/24/media-skip-backward-ltr.png	\
	$(top_srcdir)/gtk/stock-icons/24/media-skip-backward-rtl.png	\
281
	$(top_srcdir)/gtk/stock-icons/24/media-playback-stop.png	\
Matthias Clasen's avatar
Matthias Clasen committed
282 283 284
	$(top_srcdir)/gtk/stock-icons/24/view-fullscreen.png		\
	$(top_srcdir)/gtk/stock-icons/24/view-restore.png		\
	$(top_srcdir)/gtk/stock-icons/24/gtk-page-setup.png		\
285
	$(srcdir)/images/aboutdialog.png				\
286
	$(srcdir)/images/accel-label.png				\
Matthias Clasen's avatar
Matthias Clasen committed
287 288
	$(srcdir)/images/appchooserbutton.png				\
	$(srcdir)/images/appchooserdialog.png				\
Matthias Clasen's avatar
Matthias Clasen committed
289
	$(srcdir)/images/assistant.png					\
290 291
	$(srcdir)/images/box-packing.png				\
	$(srcdir)/images/box-expand.png				\
Matthias Clasen's avatar
Matthias Clasen committed
292 293 294
	$(srcdir)/images/button.png					\
	$(srcdir)/images/check-button.png				\
	$(srcdir)/images/color-button.png				\
295
	$(srcdir)/images/colorsel.png					\
296
	$(srcdir)/images/colorchooser.png				\
Matthias Clasen's avatar
Matthias Clasen committed
297
	$(srcdir)/images/combo-box.png					\
Matthias Clasen's avatar
Matthias Clasen committed
298 299
	$(srcdir)/images/combo-box-entry.png				\
	$(srcdir)/images/entry.png					\
300
	$(srcdir)/images/search-entry.png				\
301 302
	$(srcdir)/images/figure-hierarchical-drawing.png		\
	$(srcdir)/images/figure-windowed-label.png			\
303
	$(srcdir)/images/file-button.png				\
304
	$(srcdir)/images/filechooser.png				\
305
	$(srcdir)/images/font-button.png				\
306
	$(srcdir)/images/fontsel.png					\
307
	$(srcdir)/images/fontchooser.png				\
Matthias Clasen's avatar
Matthias Clasen committed
308
	$(srcdir)/images/frame.png					\
309 310
	$(srcdir)/images/icon-view.png					\
	$(srcdir)/images/image.png					\
Matthias Clasen's avatar
Matthias Clasen committed
311
	$(srcdir)/images/label.png					\
312
	$(srcdir)/images/levelbar.png					\
Matthias Clasen's avatar
Matthias Clasen committed
313
	$(srcdir)/images/link-button.png				\
Matthias Clasen's avatar
Matthias Clasen committed
314
	$(srcdir)/images/list-and-tree.png				\
315
	$(srcdir)/images/lock-button.png				\
316
	$(srcdir)/images/lockbutton.png	        			\
Matthias Clasen's avatar
Matthias Clasen committed
317 318 319
	$(srcdir)/images/lockbutton-locked.png				\
	$(srcdir)/images/lockbutton-unlocked.png			\
	$(srcdir)/images/lockbutton-sorry.png				\
320
	$(srcdir)/images/menubar.png					\
321
	$(srcdir)/images/menu-button.png				\
322 323
	$(srcdir)/images/messagedialog.png				\
	$(srcdir)/images/multiline-text.png				\
324
	$(srcdir)/images/notebook.png					\
325
	$(srcdir)/images/panes.png					\
326 327
	$(srcdir)/images/pagesetupdialog.png				\
	$(srcdir)/images/printdialog.png				\
328
	$(srcdir)/images/progressbar.png				\
329
	$(srcdir)/images/radio-group.png				\
330
	$(srcdir)/images/recentchooserdialog.png			\
331
	$(srcdir)/images/scales.png					\
332
	$(srcdir)/images/scrolledwindow.png				\
333
	$(srcdir)/images/separator.png					\
334
	$(srcdir)/images/spinbutton.png					\
335
	$(srcdir)/images/spinner.png					\
336
	$(srcdir)/images/statusbar.png					\
337 338
	$(srcdir)/images/toggle-button.png				\
	$(srcdir)/images/toolbar.png					\
Johannes Schmid's avatar
Johannes Schmid committed
339
	$(srcdir)/images/toolpalette.png				\
340
	$(srcdir)/images/tree-view-coordinates.png			\
Matthias Clasen's avatar
Matthias Clasen committed
341
	$(srcdir)/images/volumebutton.png				\
Matthias Clasen's avatar
Matthias Clasen committed
342 343 344 345 346 347 348 349
	$(srcdir)/images/window.png					\
	$(srcdir)/images/layout-btlr.png				\
	$(srcdir)/images/layout-btrl.png				\
	$(srcdir)/images/layout-lrbt.png				\
	$(srcdir)/images/layout-lrtb.png				\
	$(srcdir)/images/layout-rlbt.png				\
	$(srcdir)/images/layout-rltb.png				\
	$(srcdir)/images/layout-tblr.png				\
350
	$(srcdir)/images/layout-tbrl.png				\
351
	$(srcdir)/images/widget-hvalign.png				\
352
	$(srcdir)/images/window-default.png				\
353
	$(srcdir)/images/hello-world.png				\
354 355
	$(srcdir)/images/grid-packing.png				\
	$(srcdir)/images/drawing.png					\
Matthias Clasen's avatar
Matthias Clasen committed
356
	$(srcdir)/images/switch.png					\
Matthias Clasen's avatar
Matthias Clasen committed
357 358 359 360 361 362 363 364
	$(srcdir)/images/linear.png					\
	$(srcdir)/images/ease.png					\
	$(srcdir)/images/ease-in-out.png				\
	$(srcdir)/images/ease-in.png					\
	$(srcdir)/images/ease-out.png					\
	$(srcdir)/images/gradient1.png					\
	$(srcdir)/images/gradient2.png					\
	$(srcdir)/images/gradient3.png					\
365 366 367 368
	$(srcdir)/images/gradient4.png					\
	$(srcdir)/images/border1.png					\
	$(srcdir)/images/border2.png					\
	$(srcdir)/images/border3.png					\
369 370
	$(srcdir)/images/slices.png					\
	$(srcdir)/images/checks.png					\
371 372
	$(srcdir)/images/options.png					\
	$(srcdir)/images/arrows.png					\
373
	$(srcdir)/images/expanders.png					\
374
	$(srcdir)/images/background.png					\
Matthias Clasen's avatar
Matthias Clasen committed
375
	$(srcdir)/images/frames.png					\
Matthias Clasen's avatar
Matthias Clasen committed
376
	$(srcdir)/images/frame-gap.png					\
Matthias Clasen's avatar
Matthias Clasen committed
377 378
	$(srcdir)/images/sliders.png					\
	$(srcdir)/images/focus.png					\
379
	$(srcdir)/images/handles.png					\
Matthias Clasen's avatar
Matthias Clasen committed
380 381
	$(srcdir)/images/extensions.png					\
	$(srcdir)/images/numerableicon.png				\
Matthias Clasen's avatar
Matthias Clasen committed
382 383
	$(srcdir)/images/numerableicon2.png				\
	$(srcdir)/images/bloatpad-osx.png				\
384
	$(srcdir)/images/bloatpad-gnome.png				\
385 386 387 388 389 390 391 392 393 394 395 396 397
	$(srcdir)/images/bloatpad-xfce.png				\
	$(srcdir)/images/down-center.png				\
	$(srcdir)/images/down-end.png					\
	$(srcdir)/images/down-start.png					\
	$(srcdir)/images/left-center.png				\
	$(srcdir)/images/left-end.png					\
	$(srcdir)/images/left-start.png					\
	$(srcdir)/images/right-center.png				\
	$(srcdir)/images/right-end.png					\
	$(srcdir)/images/right-start.png				\
	$(srcdir)/images/up-center.png					\
	$(srcdir)/images/up-end.png					\
	$(srcdir)/images/up-start.png
398

399
# Extra options to supply to gtkdoc-fixref
400
FIXXREF_OPTIONS=--extra-dir=../gdk/html \
401 402
	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
403
	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
404 405 406
	--extra-dir=$(ATK_PREFIX)/share/gtk-doc/html/atk \
	--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
	--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
407

Owen Taylor's avatar
Owen Taylor committed
408 409 410
include $(top_srcdir)/gtk-doc.make

# Other files to distribute
411
EXTRA_DIST += version.xml.in gtk3.types.in
Owen Taylor's avatar
Owen Taylor committed
412 413 414

########################################################################

415 416
man_MANS = 				\
	gtk-query-immodules-3.0.1	\
Tomáš Bžatek's avatar
Tomáš Bžatek committed
417 418
	gtk-update-icon-cache.1		\
	gtk-launch.1
419

420 421
if ENABLE_MAN

422 423 424 425 426 427 428 429
XSLTPROC_FLAGS = \
        --nonet \
        --stringparam man.output.quietly 1 \
        --stringparam funcsynopsis.style ansi \
        --stringparam man.th.extra1.suppress 1 \
        --stringparam man.authors.section.enabled 0 \
        --stringparam man.copyright.section.enabled 0

430
.xml.1:
431
	$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
432

433 434 435 436 437 438 439
dist-local-check-mans-enabled:
	if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi

else

$(man_MANS):
	echo Man generation disabled.  Creating dummy $@.  Configure with --enable-man to enable it.
Matthias Clasen's avatar
Matthias Clasen committed
440
	echo Man generation disabled.  Remove this file, configure with --enable-man, and rebuild > $@
441 442 443 444

dist-local-check-mans-enabled:
	echo "*** --enable-man must be used in order to make dist"
	false
Owen Taylor's avatar
Owen Taylor committed
445

446 447
endif

448 449 450 451
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)

EXTRA_DIST += $(man_MANS)

452 453 454 455 456 457 458
if ENABLE_GTK_DOC
TESTS_ENVIRONMENT = cd $(srcdir) && \
  DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
  SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
TESTS = $(GTKDOC_CHECK)
endif

Matthias Clasen's avatar
Matthias Clasen committed
459
dist-hook-local: dist-local-check-mans-enabled all-local
460 461 462

gtk-docs-clean: clean
	cd $(srcdir) && rm -rf xml html
463 464

-include $(top_srcdir)/git.mk