Makefile.am 15 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 15
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../../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			\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
46
	gtkmnemonichash.h		\
47
	gtkpathbar.h			\
Matthias Clasen's avatar
Matthias Clasen committed
48
	gtkplugprivate.h		\
49
	gtkprintbackend.h		\
Matthias Clasen's avatar
Matthias Clasen committed
50 51
	gtkprinteroption.h		\
	gtkprinteroptionset.h		\
52 53
	gtkprinteroptionwidget.h	\
	gtkprinter-private.h		\
Matthias Clasen's avatar
Matthias Clasen committed
54 55
	gtkprint-win32.h		\
	gtkprintutils.h			\
56
	gtkprintoperation-private.h	\
57
	gtkprivate.h			\
Matthias Clasen's avatar
Matthias Clasen committed
58
	gtkquery.h			\
59
	gtkrbtree.h			\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
60
	gtkrecentchooserdefault.h	\
Matthias Clasen's avatar
Matthias Clasen committed
61
	gtkrecentchooserutils.h		\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
62
	gtkrecentchooserprivate.h	\
Matthias Clasen's avatar
Matthias Clasen committed
63 64 65 66
	gtksearchengine.h		\
	gtksearchenginebeagle.h		\
	gtksearchenginetracker.h	\
	gtksearchenginesimple.h		\
Matthias Clasen's avatar
Matthias Clasen committed
67
	gtksearchenginequartz.h		\
Matthias Clasen's avatar
Matthias Clasen committed
68
	gtksequence.h			\
Matthias Clasen's avatar
Matthias Clasen committed
69
	gtksocketprivate.h		\
70
	gtktextbtree.h			\
Matthias Clasen's avatar
Matthias Clasen committed
71 72
	gtktextbufferserializ.h		\
	gtktextchildprivate.h		\
73 74 75 76 77 78 79 80
	gtktextdisplay.h		\
	gtktextiterprivate.h		\
	gtktextlayout.h			\
	gtktextmarkprivate.h		\
	gtktextsegment.h		\
	gtktexttagprivate.h		\
	gtktexttypes.h			\
	gtktextutil.h			\
Carlos Garnacho's avatar
Carlos Garnacho committed
81
	gtktimeline.h			\
Matthias Clasen's avatar
Matthias Clasen committed
82
	gtkthemes.h			\
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
83
	gtktrayicon.h			\
Matthias Clasen's avatar
Matthias Clasen committed
84 85
	gtktreedatalist.h		\
	gtktreeprivate.h		\
Johannes Schmid's avatar
Johannes Schmid committed
86
	gtktoolpaletteprivate.h		\
87 88
	gtktypebuiltins.h		\
	gtkxembed.h			\
Matthias Clasen's avatar
Matthias Clasen committed
89
	gtkwin32embed.h			\
Matthias Clasen's avatar
Matthias Clasen committed
90
	gtkwin32embedwidget.h		\
91
	gtkwindow-decorate.h		\
92
	xdgmime				\
Matthias Clasen's avatar
Matthias Clasen committed
93
	xembed.h
94

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

105 106 107
CPPFLAGS += \
	-UGTK_DISABLE_SINGLE_INCLUDES

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


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

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

143
expand_content_files = 				\
144
	drawing-model.xml			\
145
	getting_started.xml			\
Matthias Clasen's avatar
Matthias Clasen committed
146
	glossary.xml				\
147
	migrating-2to3.xml			\
Matthias Clasen's avatar
Matthias Clasen committed
148
	migrating-checklist.sgml		\
149
	migrating-GtkApplication.xml		\
150
	migrating-GtkGrid.xml			\
151
	migrating-GtkStyleContext.xml		\
152
	question_index.sgml			\
Matthias Clasen's avatar
Matthias Clasen committed
153
	text_widget.sgml			\
154
	tree_widget.sgml
155

156
# Images to copy into HTML directory
157
HTML_IMAGES = \
Matthias Clasen's avatar
Matthias Clasen committed
158 159
	$(top_srcdir)/gtk/stock-icons/24/help-about.png			\
	$(top_srcdir)/gtk/stock-icons/24/list-add.png			\
160
	$(top_srcdir)/gtk/stock-icons/20/gtk-apply.png			\
161
	$(top_srcdir)/gtk/stock-icons/24/format-text-bold.png		\
162
	$(top_srcdir)/gtk/stock-icons/20/gtk-cancel.png			\
163
	$(top_srcdir)/gtk/stock-icons/24/gtk-caps-lock-warning.png	\
Matthias Clasen's avatar
Matthias Clasen committed
164
	$(top_srcdir)/gtk/stock-icons/24/media-optical.png		\
165
	$(top_srcdir)/gtk/stock-icons/24/edit-clear.png			\
Matthias Clasen's avatar
Matthias Clasen committed
166
	$(top_srcdir)/gtk/stock-icons/24/window-close.png		\
167 168
	$(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
169 170 171 172 173
	$(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		\
174
	$(top_srcdir)/gtk/stock-icons/48/dialog-information.png		\
Matthias Clasen's avatar
Matthias Clasen committed
175 176 177
	$(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			\
178 179 180 181
	$(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
182
	$(top_srcdir)/gtk/stock-icons/24/system-run.png			\
Benjamin Otte's avatar
Benjamin Otte committed
183
	$(top_srcdir)/gtk/stock-icons/24/text-x-generic.png		\
Matthias Clasen's avatar
Matthias Clasen committed
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
	$(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			\
202
	$(top_srcdir)/gtk/stock-icons/24/gtk-index.png			\
Matthias Clasen's avatar
Matthias Clasen committed
203 204 205 206 207 208 209 210 211 212 213 214 215
	$(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		\
216 217
	$(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
218
	$(top_srcdir)/gtk/stock-icons/24/document-open.png		\
Matthias Clasen's avatar
Matthias Clasen committed
219
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-landscape.png	\
Matthias Clasen's avatar
Matthias Clasen committed
220 221
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-portrait.png	\
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-landscape.png \
222
	$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-portrait.png \
Matthias Clasen's avatar
Matthias Clasen committed
223
	$(top_srcdir)/gtk/stock-icons/24/edit-paste.png			\
224
	$(top_srcdir)/gtk/stock-icons/24/gtk-preferences.png		\
Matthias Clasen's avatar
Matthias Clasen committed
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
	$(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		\
243 244 245
	$(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
246 247 248 249
	$(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		\
250
	$(top_srcdir)/gtk/stock-icons/24/format-text-strikethrough.png	\
251 252
	$(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
253 254 255
	$(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		\
256
	$(top_srcdir)/gtk/stock-icons/20/gtk-yes.png			\
Matthias Clasen's avatar
Matthias Clasen committed
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
	$(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	\
273
	$(top_srcdir)/gtk/stock-icons/24/media-playback-stop.png	\
Matthias Clasen's avatar
Matthias Clasen committed
274 275 276
	$(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		\
277
	$(srcdir)/images/aboutdialog.png				\
278
	$(srcdir)/images/accel-label.png				\
Matthias Clasen's avatar
Matthias Clasen committed
279 280
	$(srcdir)/images/appchooserbutton.png				\
	$(srcdir)/images/appchooserdialog.png				\
Matthias Clasen's avatar
Matthias Clasen committed
281
	$(srcdir)/images/assistant.png					\
282 283
	$(srcdir)/images/box-packing.png				\
	$(srcdir)/images/box-expand.png				\
Matthias Clasen's avatar
Matthias Clasen committed
284 285 286
	$(srcdir)/images/button.png					\
	$(srcdir)/images/check-button.png				\
	$(srcdir)/images/color-button.png				\
287
	$(srcdir)/images/colorsel.png					\
Matthias Clasen's avatar
Matthias Clasen committed
288
	$(srcdir)/images/combo-box.png					\
Matthias Clasen's avatar
Matthias Clasen committed
289 290
	$(srcdir)/images/combo-box-entry.png				\
	$(srcdir)/images/entry.png					\
291 292
	$(srcdir)/images/figure-hierarchical-drawing.png		\
	$(srcdir)/images/figure-windowed-label.png			\
293
	$(srcdir)/images/file-button.png				\
294
	$(srcdir)/images/filechooser.png				\
295
	$(srcdir)/images/font-button.png				\
296
	$(srcdir)/images/fontsel.png					\
Matthias Clasen's avatar
Matthias Clasen committed
297
	$(srcdir)/images/frame.png					\
298 299
	$(srcdir)/images/icon-view.png					\
	$(srcdir)/images/image.png					\
Matthias Clasen's avatar
Matthias Clasen committed
300
	$(srcdir)/images/label.png					\
Matthias Clasen's avatar
Matthias Clasen committed
301
	$(srcdir)/images/link-button.png				\
Matthias Clasen's avatar
Matthias Clasen committed
302
	$(srcdir)/images/list-and-tree.png				\
303
	$(srcdir)/images/lockbutton.png				\
Matthias Clasen's avatar
Matthias Clasen committed
304 305 306
	$(srcdir)/images/lockbutton-locked.png				\
	$(srcdir)/images/lockbutton-unlocked.png			\
	$(srcdir)/images/lockbutton-sorry.png				\
307
	$(srcdir)/images/menubar.png					\
308 309
	$(srcdir)/images/messagedialog.png				\
	$(srcdir)/images/multiline-text.png				\
310
	$(srcdir)/images/notebook.png					\
311
	$(srcdir)/images/panes.png					\
312 313
	$(srcdir)/images/pagesetupdialog.png				\
	$(srcdir)/images/printdialog.png				\
314
	$(srcdir)/images/progressbar.png				\
315
	$(srcdir)/images/radio-group.png				\
316
	$(srcdir)/images/recentchooserdialog.png			\
317
	$(srcdir)/images/scales.png					\
318
	$(srcdir)/images/scrolledwindow.png				\
319
	$(srcdir)/images/separator.png					\
320
	$(srcdir)/images/spinbutton.png					\
321
	$(srcdir)/images/spinner.png					\
322
	$(srcdir)/images/statusbar.png					\
323 324
	$(srcdir)/images/toggle-button.png				\
	$(srcdir)/images/toolbar.png					\
Johannes Schmid's avatar
Johannes Schmid committed
325
	$(srcdir)/images/toolpalette.png				\
326
	$(srcdir)/images/tree-view-coordinates.png			\
Matthias Clasen's avatar
Matthias Clasen committed
327
	$(srcdir)/images/volumebutton.png				\
Matthias Clasen's avatar
Matthias Clasen committed
328 329 330 331 332 333 334 335
	$(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				\
336
	$(srcdir)/images/layout-tbrl.png				\
337
	$(srcdir)/images/widget-hvalign.png				\
338
	$(srcdir)/images/window-default.png				\
339
	$(srcdir)/images/hello-world.png				\
340 341
	$(srcdir)/images/grid-packing.png				\
	$(srcdir)/images/drawing.png					\
Matthias Clasen's avatar
Matthias Clasen committed
342
	$(srcdir)/images/switch.png					\
Matthias Clasen's avatar
Matthias Clasen committed
343 344 345 346 347 348 349 350
	$(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					\
351 352 353 354
	$(srcdir)/images/gradient4.png					\
	$(srcdir)/images/border1.png					\
	$(srcdir)/images/border2.png					\
	$(srcdir)/images/border3.png					\
355 356
	$(srcdir)/images/slices.png					\
	$(srcdir)/images/checks.png					\
357 358
	$(srcdir)/images/options.png					\
	$(srcdir)/images/arrows.png					\
359
	$(srcdir)/images/expanders.png					\
360
	$(srcdir)/images/background.png					\
Matthias Clasen's avatar
Matthias Clasen committed
361
	$(srcdir)/images/frames.png					\
Matthias Clasen's avatar
Matthias Clasen committed
362
	$(srcdir)/images/frame-gap.png					\
Matthias Clasen's avatar
Matthias Clasen committed
363 364
	$(srcdir)/images/sliders.png					\
	$(srcdir)/images/focus.png					\
365
	$(srcdir)/images/handles.png					\
Matthias Clasen's avatar
Matthias Clasen committed
366 367 368
	$(srcdir)/images/extensions.png					\
	$(srcdir)/images/numerableicon.png				\
	$(srcdir)/images/numerableicon2.png
369

370
# Extra options to supply to gtkdoc-fixref
371
FIXXREF_OPTIONS=--extra-dir=../gdk/html \
372 373
	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
374
	--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gio \
375 376 377
	--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
378

Owen Taylor's avatar
Owen Taylor committed
379 380 381 382 383 384 385
include $(top_srcdir)/gtk-doc.make

# Other files to distribute
EXTRA_DIST += version.xml.in

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

386 387
man_MANS = 				\
	gtk-query-immodules-3.0.1	\
Matthias Clasen's avatar
Matthias Clasen committed
388
	gtk-update-icon-cache.1
389

390 391 392
if ENABLE_MAN

.xml.1:
393 394
	@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

395 396 397 398 399 400 401
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
402
	echo Man generation disabled.  Remove this file, configure with --enable-man, and rebuild > $@
403 404 405 406

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

408 409
endif

410 411 412 413
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)

EXTRA_DIST += $(man_MANS)

Matthias Clasen's avatar
Matthias Clasen committed
414
dist-hook-local: dist-local-check-mans-enabled all-local
415 416 417

gtk-docs-clean: clean
	cd $(srcdir) && rm -rf xml html
418 419

-include $(top_srcdir)/git.mk