]>
Commit | Line | Data |
---|---|---|
14228c0d | 1 | # Makefile.in generated by automake 1.13.4 from Makefile.am. |
663996b3 MS |
2 | # @configure_input@ |
3 | ||
14228c0d | 4 | # Copyright (C) 1994-2013 Free Software Foundation, Inc. |
663996b3 MS |
5 | |
6 | # This Makefile.in is free software; the Free Software Foundation | |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
15 | @SET_MAKE@ | |
16 | ||
17 | # -*- mode: makefile -*- | |
18 | ||
19 | #################################### | |
20 | # Everything below here is generic # | |
21 | #################################### | |
22 | VPATH = @srcdir@ | |
14228c0d MB |
23 | am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' |
24 | am__make_running_with_option = \ | |
25 | case $${target_option-} in \ | |
26 | ?) ;; \ | |
27 | *) echo "am__make_running_with_option: internal error: invalid" \ | |
28 | "target option '$${target_option-}' specified" >&2; \ | |
29 | exit 1;; \ | |
30 | esac; \ | |
31 | has_opt=no; \ | |
32 | sane_makeflags=$$MAKEFLAGS; \ | |
33 | if $(am__is_gnu_make); then \ | |
34 | sane_makeflags=$$MFLAGS; \ | |
35 | else \ | |
663996b3 MS |
36 | case $$MAKEFLAGS in \ |
37 | *\\[\ \ ]*) \ | |
14228c0d MB |
38 | bs=\\; \ |
39 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | |
40 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ | |
41 | esac; \ | |
42 | fi; \ | |
43 | skip_next=no; \ | |
44 | strip_trailopt () \ | |
45 | { \ | |
46 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ | |
47 | }; \ | |
48 | for flg in $$sane_makeflags; do \ | |
49 | test $$skip_next = yes && { skip_next=no; continue; }; \ | |
50 | case $$flg in \ | |
51 | *=*|--*) continue;; \ | |
52 | -*I) strip_trailopt 'I'; skip_next=yes;; \ | |
53 | -*I?*) strip_trailopt 'I';; \ | |
54 | -*O) strip_trailopt 'O'; skip_next=yes;; \ | |
55 | -*O?*) strip_trailopt 'O';; \ | |
56 | -*l) strip_trailopt 'l'; skip_next=yes;; \ | |
57 | -*l?*) strip_trailopt 'l';; \ | |
58 | -[dEDm]) skip_next=yes;; \ | |
59 | -[JT]) skip_next=yes;; \ | |
663996b3 | 60 | esac; \ |
14228c0d MB |
61 | case $$flg in \ |
62 | *$$target_option*) has_opt=yes; break;; \ | |
63 | esac; \ | |
64 | done; \ | |
65 | test $$has_opt = yes | |
66 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) | |
67 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) | |
663996b3 MS |
68 | pkgdatadir = $(datadir)/@PACKAGE@ |
69 | pkgincludedir = $(includedir)/@PACKAGE@ | |
70 | pkglibdir = $(libdir)/@PACKAGE@ | |
71 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | |
72 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | |
73 | install_sh_DATA = $(install_sh) -c -m 644 | |
74 | install_sh_PROGRAM = $(install_sh) -c | |
75 | install_sh_SCRIPT = $(install_sh) -c | |
76 | INSTALL_HEADER = $(INSTALL_DATA) | |
77 | transform = $(program_transform_name) | |
78 | NORMAL_INSTALL = : | |
79 | PRE_INSTALL = : | |
80 | POST_INSTALL = : | |
81 | NORMAL_UNINSTALL = : | |
82 | PRE_UNINSTALL = : | |
83 | POST_UNINSTALL = : | |
84 | build_triplet = @build@ | |
85 | host_triplet = @host@ | |
86 | DIST_COMMON = $(top_srcdir)/docs/gtk-doc.make $(srcdir)/Makefile.in \ | |
87 | $(srcdir)/Makefile.am $(srcdir)/version.xml.in | |
88 | subdir = docs/gudev | |
89 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
90 | am__aclocal_m4_deps = $(top_srcdir)/m4/acx_libwrap.m4 \ | |
91 | $(top_srcdir)/m4/attributes.m4 $(top_srcdir)/m4/gtk-doc.m4 \ | |
92 | $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \ | |
93 | $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ | |
94 | $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ | |
95 | $(top_srcdir)/configure.ac | |
96 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | |
97 | $(ACLOCAL_M4) | |
98 | mkinstalldirs = $(install_sh) -d | |
99 | CONFIG_HEADER = $(top_builddir)/config.h | |
100 | CONFIG_CLEAN_FILES = version.xml | |
101 | CONFIG_CLEAN_VPATH_FILES = | |
102 | AM_V_P = $(am__v_P_@AM_V@) | |
103 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) | |
104 | am__v_P_0 = false | |
105 | am__v_P_1 = : | |
106 | AM_V_GEN = $(am__v_GEN_@AM_V@) | |
107 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) | |
108 | am__v_GEN_0 = @echo " GEN " $@; | |
109 | am__v_GEN_1 = | |
110 | AM_V_at = $(am__v_at_@AM_V@) | |
111 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) | |
112 | am__v_at_0 = @ | |
113 | am__v_at_1 = | |
114 | SOURCES = | |
115 | DIST_SOURCES = | |
116 | am__can_run_installinfo = \ | |
117 | case $$AM_UPDATE_INFO_DIR in \ | |
118 | n|no|NO) false;; \ | |
119 | *) (install-info --version) >/dev/null 2>&1;; \ | |
120 | esac | |
121 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) | |
122 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | |
123 | ACLOCAL = @ACLOCAL@ | |
124 | ACL_LIBS = @ACL_LIBS@ | |
125 | ALL_LINGUAS = @ALL_LINGUAS@ | |
126 | AMTAR = @AMTAR@ | |
127 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | |
128 | AR = @AR@ | |
129 | AUDIT_LIBS = @AUDIT_LIBS@ | |
130 | AUTOCONF = @AUTOCONF@ | |
131 | AUTOHEADER = @AUTOHEADER@ | |
132 | AUTOMAKE = @AUTOMAKE@ | |
133 | AWK = @AWK@ | |
134 | BLKID_CFLAGS = @BLKID_CFLAGS@ | |
135 | BLKID_LIBS = @BLKID_LIBS@ | |
136 | CAP_LIBS = @CAP_LIBS@ | |
137 | CC = @CC@ | |
138 | CCDEPMODE = @CCDEPMODE@ | |
139 | CFLAGS = @CFLAGS@ | |
140 | CHKCONFIG = @CHKCONFIG@ | |
141 | CPP = @CPP@ | |
142 | CPPFLAGS = @CPPFLAGS@ | |
143 | CYGPATH_W = @CYGPATH_W@ | |
144 | DATADIRNAME = @DATADIRNAME@ | |
145 | DBUS_CFLAGS = @DBUS_CFLAGS@ | |
146 | DBUS_LIBS = @DBUS_LIBS@ | |
147 | DEBUGTTY = @DEBUGTTY@ | |
148 | DEFS = @DEFS@ | |
149 | DEPDIR = @DEPDIR@ | |
150 | DLLTOOL = @DLLTOOL@ | |
151 | DSYMUTIL = @DSYMUTIL@ | |
152 | DUMPBIN = @DUMPBIN@ | |
153 | ECHO_C = @ECHO_C@ | |
154 | ECHO_N = @ECHO_N@ | |
155 | ECHO_T = @ECHO_T@ | |
156 | EGREP = @EGREP@ | |
157 | EXEEXT = @EXEEXT@ | |
158 | FGREP = @FGREP@ | |
159 | FIRMWARE_PATH = @FIRMWARE_PATH@ | |
160 | GCRYPT_CFLAGS = @GCRYPT_CFLAGS@ | |
161 | GCRYPT_LIBS = @GCRYPT_LIBS@ | |
162 | GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ | |
163 | GLIB_CFLAGS = @GLIB_CFLAGS@ | |
164 | GLIB_LIBS = @GLIB_LIBS@ | |
165 | GMSGFMT = @GMSGFMT@ | |
166 | GPERF = @GPERF@ | |
167 | GREP = @GREP@ | |
168 | GTKDOC_CHECK = @GTKDOC_CHECK@ | |
169 | GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@ | |
170 | GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@ | |
171 | GTKDOC_MKPDF = @GTKDOC_MKPDF@ | |
172 | GTKDOC_REBASE = @GTKDOC_REBASE@ | |
173 | HTML_DIR = @HTML_DIR@ | |
663996b3 MS |
174 | INSTALL = @INSTALL@ |
175 | INSTALL_DATA = @INSTALL_DATA@ | |
176 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
177 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
178 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
179 | INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ | |
180 | INTLTOOL_MERGE = @INTLTOOL_MERGE@ | |
181 | INTLTOOL_PERL = @INTLTOOL_PERL@ | |
182 | INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ | |
183 | INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ | |
184 | INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ | |
185 | INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ | |
186 | INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ | |
187 | INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@ | |
188 | INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@ | |
189 | INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@ | |
190 | INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@ | |
191 | INTROSPECTION_LIBS = @INTROSPECTION_LIBS@ | |
192 | INTROSPECTION_MAKEFILE = @INTROSPECTION_MAKEFILE@ | |
193 | INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@ | |
194 | INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@ | |
195 | KBD_LOADKEYS = @KBD_LOADKEYS@ | |
196 | KBD_SETFONT = @KBD_SETFONT@ | |
14228c0d | 197 | KEXEC = @KEXEC@ |
663996b3 | 198 | KILL = @KILL@ |
14228c0d | 199 | KMOD = @KMOD@ |
663996b3 MS |
200 | KMOD_CFLAGS = @KMOD_CFLAGS@ |
201 | KMOD_LIBS = @KMOD_LIBS@ | |
202 | LD = @LD@ | |
203 | LDFLAGS = @LDFLAGS@ | |
204 | LIBCRYPTSETUP_CFLAGS = @LIBCRYPTSETUP_CFLAGS@ | |
205 | LIBCRYPTSETUP_LIBS = @LIBCRYPTSETUP_LIBS@ | |
206 | LIBGCRYPT_CFLAGS = @LIBGCRYPT_CFLAGS@ | |
207 | LIBGCRYPT_CONFIG = @LIBGCRYPT_CONFIG@ | |
208 | LIBGCRYPT_LIBS = @LIBGCRYPT_LIBS@ | |
209 | LIBOBJS = @LIBOBJS@ | |
210 | LIBS = @LIBS@ | |
211 | LIBTOOL = @LIBTOOL@ | |
212 | LIBWRAP_LIBS = @LIBWRAP_LIBS@ | |
213 | LIPO = @LIPO@ | |
214 | LN_S = @LN_S@ | |
215 | LTLIBOBJS = @LTLIBOBJS@ | |
216 | M4 = @M4@ | |
217 | M4_DEFINES = @M4_DEFINES@ | |
218 | MAKEINFO = @MAKEINFO@ | |
219 | MANIFEST_TOOL = @MANIFEST_TOOL@ | |
220 | MICROHTTPD_CFLAGS = @MICROHTTPD_CFLAGS@ | |
221 | MICROHTTPD_LIBS = @MICROHTTPD_LIBS@ | |
222 | MKDIR_P = @MKDIR_P@ | |
223 | MSGFMT = @MSGFMT@ | |
224 | MSGMERGE = @MSGMERGE@ | |
225 | NM = @NM@ | |
226 | NMEDIT = @NMEDIT@ | |
227 | OBJCOPY = @OBJCOPY@ | |
228 | OBJDUMP = @OBJDUMP@ | |
229 | OBJEXT = @OBJEXT@ | |
230 | OTOOL = @OTOOL@ | |
231 | OTOOL64 = @OTOOL64@ | |
232 | OUR_CFLAGS = @OUR_CFLAGS@ | |
233 | OUR_CPPFLAGS = @OUR_CPPFLAGS@ | |
234 | OUR_LDFLAGS = @OUR_LDFLAGS@ | |
235 | PACKAGE = @PACKAGE@ | |
236 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | |
237 | PACKAGE_NAME = @PACKAGE_NAME@ | |
238 | PACKAGE_STRING = @PACKAGE_STRING@ | |
239 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
240 | PACKAGE_URL = @PACKAGE_URL@ | |
241 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
242 | PAM_LIBS = @PAM_LIBS@ | |
243 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
244 | PKG_CONFIG = @PKG_CONFIG@ | |
245 | PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ | |
246 | PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ | |
247 | PYTHON = @PYTHON@ | |
248 | PYTHON_BINARY = @PYTHON_BINARY@ | |
14228c0d MB |
249 | PYTHON_DEVEL_CFLAGS = @PYTHON_DEVEL_CFLAGS@ |
250 | PYTHON_DEVEL_LIBS = @PYTHON_DEVEL_LIBS@ | |
663996b3 | 251 | PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ |
663996b3 MS |
252 | PYTHON_PLATFORM = @PYTHON_PLATFORM@ |
253 | PYTHON_PREFIX = @PYTHON_PREFIX@ | |
254 | PYTHON_VERSION = @PYTHON_VERSION@ | |
255 | QRENCODE_CFLAGS = @QRENCODE_CFLAGS@ | |
256 | QRENCODE_LIBS = @QRENCODE_LIBS@ | |
257 | QUOTACHECK = @QUOTACHECK@ | |
258 | QUOTAON = @QUOTAON@ | |
259 | RANLIB = @RANLIB@ | |
260 | RC_LOCAL_SCRIPT_PATH_START = @RC_LOCAL_SCRIPT_PATH_START@ | |
261 | RC_LOCAL_SCRIPT_PATH_STOP = @RC_LOCAL_SCRIPT_PATH_STOP@ | |
14228c0d | 262 | RT_LIBS = @RT_LIBS@ |
663996b3 MS |
263 | SED = @SED@ |
264 | SELINUX_CFLAGS = @SELINUX_CFLAGS@ | |
265 | SELINUX_LIBS = @SELINUX_LIBS@ | |
266 | SETCAP = @SETCAP@ | |
267 | SET_MAKE = @SET_MAKE@ | |
268 | SHELL = @SHELL@ | |
269 | SPHINX_BUILD = @SPHINX_BUILD@ | |
270 | STRINGS = @STRINGS@ | |
271 | STRIP = @STRIP@ | |
272 | SUSHELL = @SUSHELL@ | |
273 | SYSTEM_SYSVINIT_PATH = @SYSTEM_SYSVINIT_PATH@ | |
274 | SYSTEM_SYSVRCND_PATH = @SYSTEM_SYSVRCND_PATH@ | |
275 | TELINIT = @TELINIT@ | |
276 | USE_NLS = @USE_NLS@ | |
277 | VERSION = @VERSION@ | |
278 | XATTR_LIBS = @XATTR_LIBS@ | |
279 | XGETTEXT = @XGETTEXT@ | |
280 | XSLTPROC = @XSLTPROC@ | |
281 | XZ_CFLAGS = @XZ_CFLAGS@ | |
282 | XZ_LIBS = @XZ_LIBS@ | |
283 | abs_builddir = @abs_builddir@ | |
284 | abs_srcdir = @abs_srcdir@ | |
285 | abs_top_builddir = @abs_top_builddir@ | |
286 | abs_top_srcdir = @abs_top_srcdir@ | |
287 | ac_ct_AR = @ac_ct_AR@ | |
288 | ac_ct_CC = @ac_ct_CC@ | |
289 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | |
290 | am__include = @am__include@ | |
291 | am__leading_dot = @am__leading_dot@ | |
292 | am__quote = @am__quote@ | |
293 | am__tar = @am__tar@ | |
294 | am__untar = @am__untar@ | |
295 | bashcompletiondir = @bashcompletiondir@ | |
296 | bindir = @bindir@ | |
297 | build = @build@ | |
298 | build_alias = @build_alias@ | |
299 | build_cpu = @build_cpu@ | |
300 | build_os = @build_os@ | |
301 | build_vendor = @build_vendor@ | |
302 | builddir = @builddir@ | |
303 | datadir = @datadir@ | |
304 | datarootdir = @datarootdir@ | |
305 | dbusinterfacedir = @dbusinterfacedir@ | |
306 | dbuspolicydir = @dbuspolicydir@ | |
307 | dbussessionservicedir = @dbussessionservicedir@ | |
308 | dbussystemservicedir = @dbussystemservicedir@ | |
309 | docdir = @docdir@ | |
310 | dvidir = @dvidir@ | |
311 | exec_prefix = @exec_prefix@ | |
312 | host = @host@ | |
313 | host_alias = @host_alias@ | |
314 | host_cpu = @host_cpu@ | |
315 | host_os = @host_os@ | |
316 | host_vendor = @host_vendor@ | |
317 | htmldir = @htmldir@ | |
318 | includedir = @includedir@ | |
319 | infodir = @infodir@ | |
320 | install_sh = @install_sh@ | |
321 | intltool__v_merge_options_ = @intltool__v_merge_options_@ | |
322 | intltool__v_merge_options_0 = @intltool__v_merge_options_0@ | |
14228c0d | 323 | lcov_found = @lcov_found@ |
663996b3 MS |
324 | libdir = @libdir@ |
325 | libexecdir = @libexecdir@ | |
326 | localedir = @localedir@ | |
327 | localstatedir = @localstatedir@ | |
328 | mandir = @mandir@ | |
329 | mkdir_p = @mkdir_p@ | |
330 | oldincludedir = @oldincludedir@ | |
14228c0d | 331 | pamconfdir = @pamconfdir@ |
663996b3 MS |
332 | pamlibdir = @pamlibdir@ |
333 | pdfdir = @pdfdir@ | |
334 | pkgpyexecdir = @pkgpyexecdir@ | |
335 | pkgpythondir = @pkgpythondir@ | |
336 | prefix = @prefix@ | |
337 | program_transform_name = @program_transform_name@ | |
338 | psdir = @psdir@ | |
339 | pyexecdir = @pyexecdir@ | |
340 | pythondir = @pythondir@ | |
341 | rootlibdir = @rootlibdir@ | |
342 | rootprefix = @rootprefix@ | |
343 | sbindir = @sbindir@ | |
344 | sharedstatedir = @sharedstatedir@ | |
345 | srcdir = @srcdir@ | |
346 | sysconfdir = @sysconfdir@ | |
347 | target_alias = @target_alias@ | |
348 | top_build_prefix = @top_build_prefix@ | |
349 | top_builddir = @top_builddir@ | |
350 | top_srcdir = @top_srcdir@ | |
14228c0d | 351 | zshcompletiondir = @zshcompletiondir@ |
663996b3 MS |
352 | |
353 | # We require automake 1.10 at least. | |
354 | AUTOMAKE_OPTIONS = 1.10 color-tests | |
355 | ||
356 | # This is a blank Makefile.am for using gtk-doc. | |
357 | # Copy this to your project's API docs directory and modify the variables to | |
358 | # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples | |
359 | # of using the various options. | |
360 | ||
361 | # The name of the module, e.g. 'glib'. | |
362 | DOC_MODULE = gudev | |
363 | ||
364 | # Uncomment for versioned docs and specify the version of the module, e.g. '2'. | |
365 | #DOC_MODULE_VERSION=2 | |
366 | ||
367 | # The top-level SGML file. You can change this if you want to. | |
368 | DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml | |
369 | ||
370 | # The directory containing the source code. Relative to $(srcdir). | |
371 | # gtk-doc will search all .c & .h files beneath here for inline comments | |
372 | # documenting the functions and macros. | |
373 | # e.g. DOC_SOURCE_DIR=../../../gtk | |
374 | DOC_SOURCE_DIR = $(top_srcdir)/src/gudev $(top_builddir)/src/gudev | |
375 | ||
376 | # Extra options to pass to gtkdoc-scangobj. Not normally needed. | |
377 | SCANGOBJ_OPTIONS = | |
378 | ||
379 | # Extra options to supply to gtkdoc-scan. | |
380 | # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" | |
381 | SCAN_OPTIONS = | |
382 | ||
383 | # Extra options to supply to gtkdoc-mkdb. | |
384 | # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml | |
385 | MKDB_OPTIONS = --xml-mode --output-format=xml --name-space=g_udev | |
386 | ||
387 | # Extra options to supply to gtkdoc-mktmpl | |
388 | # e.g. MKTMPL_OPTIONS=--only-section-tmpl | |
389 | MKTMPL_OPTIONS = | |
390 | ||
391 | # Extra options to supply to gtkdoc-mkhtml | |
392 | MKHTML_OPTIONS = --path=$(abs_srcdir) --path=$(abs_builddir) | |
393 | ||
394 | # Extra options to supply to gtkdoc-fixref. Not normally needed. | |
395 | # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html | |
396 | FIXXREF_OPTIONS = >/dev/null 2>&1 | |
397 | ||
398 | # Used for dependencies. The docs will be rebuilt if any of these change. | |
399 | # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h | |
400 | # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c | |
401 | HFILE_GLOB = $(top_srcdir)/src/gudev/*.h | |
402 | CFILE_GLOB = $(top_srcdir)/src/gudev/*.c | |
403 | ||
404 | # Extra header to include when scanning, which are not under DOC_SOURCE_DIR | |
405 | # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h | |
406 | EXTRA_HFILES = | |
407 | ||
408 | # Header files to ignore when scanning. Use base file name, no paths | |
409 | # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h | |
410 | IGNORE_HFILES = gudevenumtypes.h gudevmarshal.h | |
411 | ||
412 | # Images to copy into HTML directory. | |
413 | # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png | |
414 | HTML_IMAGES = | |
415 | ||
416 | # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). | |
417 | # e.g. content_files=running.sgml building.sgml changes-2.0.sgml | |
418 | content_files = version.xml | |
419 | ||
420 | # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded | |
421 | # These files must be listed here *and* in content_files | |
422 | # e.g. expand_content_files=running.sgml | |
423 | expand_content_files = | |
424 | ||
425 | # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library. | |
426 | # Only needed if you are using gtkdoc-scangobj to dynamically query widget | |
427 | # signals and properties. | |
428 | # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS) | |
429 | # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib) | |
430 | GTKDOC_CFLAGS = \ | |
431 | $(GLIB_CFLAGS) \ | |
432 | -I$(top_srcdir)/src/gudev \ | |
433 | -I$(top_builddir)/src/gudev | |
434 | ||
435 | GTKDOC_LIBS = \ | |
436 | $(GLIB_LIBS) \ | |
437 | $(top_builddir)/libgudev-1.0.la | |
438 | ||
439 | @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
440 | @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
441 | @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) | |
442 | @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) | |
443 | @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = | |
444 | @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute | |
445 | ||
446 | # We set GPATH here; this gives us semantics for GNU make | |
447 | # which are more like other make's VPATH, when it comes to | |
448 | # whether a source that is a target of one rule is then | |
449 | # searched for in VPATH/GPATH. | |
450 | # | |
451 | GPATH = $(srcdir) | |
452 | TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) | |
453 | SETUP_FILES = \ | |
454 | $(content_files) \ | |
455 | $(DOC_MAIN_SGML_FILE) \ | |
456 | $(DOC_MODULE)-sections.txt \ | |
457 | $(DOC_MODULE)-overrides.txt | |
458 | ||
459 | ||
460 | # This includes the standard gtk-doc make rules, copied by gtkdocize. | |
461 | ||
462 | # Other files to distribute | |
463 | # e.g. EXTRA_DIST += version.xml.in | |
464 | EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in | |
465 | DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \ | |
466 | html-build.stamp pdf-build.stamp \ | |
467 | sgml.stamp html.stamp pdf.stamp | |
468 | ||
469 | SCANOBJ_FILES = \ | |
470 | $(DOC_MODULE).args \ | |
471 | $(DOC_MODULE).hierarchy \ | |
472 | $(DOC_MODULE).interfaces \ | |
473 | $(DOC_MODULE).prerequisites \ | |
474 | $(DOC_MODULE).signals | |
475 | ||
476 | REPORT_FILES = \ | |
477 | $(DOC_MODULE)-undocumented.txt \ | |
478 | $(DOC_MODULE)-undeclared.txt \ | |
479 | $(DOC_MODULE)-unused.txt | |
480 | ||
481 | CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) | |
482 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP = | |
483 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp | |
484 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP = | |
485 | @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp | |
14228c0d MB |
486 | |
487 | #### setup #### | |
488 | GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V)) | |
489 | GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY)) | |
490 | GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build"; | |
491 | ||
492 | #### scan #### | |
493 | GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V)) | |
494 | GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY)) | |
495 | GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files"; | |
496 | GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V)) | |
497 | GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY)) | |
498 | GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects"; | |
499 | ||
500 | #### xml #### | |
501 | GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V)) | |
502 | GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY)) | |
503 | GTK_DOC_V_XML_0 = @echo " DOC Building XML"; | |
504 | ||
505 | #### html #### | |
506 | GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V)) | |
507 | GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY)) | |
508 | GTK_DOC_V_HTML_0 = @echo " DOC Building HTML"; | |
509 | GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V)) | |
510 | GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY)) | |
511 | GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; | |
512 | ||
513 | #### pdf #### | |
514 | GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V)) | |
515 | GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY)) | |
516 | GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; | |
663996b3 MS |
517 | all: all-am |
518 | ||
519 | .SUFFIXES: | |
520 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/docs/gtk-doc.make $(am__configure_deps) | |
521 | @for dep in $?; do \ | |
522 | case '$(am__configure_deps)' in \ | |
523 | *$$dep*) \ | |
524 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ | |
525 | && { if test -f $@; then exit 0; else break; fi; }; \ | |
526 | exit 1;; \ | |
527 | esac; \ | |
528 | done; \ | |
529 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/gudev/Makefile'; \ | |
530 | $(am__cd) $(top_srcdir) && \ | |
531 | $(AUTOMAKE) --foreign docs/gudev/Makefile | |
532 | .PRECIOUS: Makefile | |
533 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
534 | @case '$?' in \ | |
535 | *config.status*) \ | |
536 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ | |
537 | *) \ | |
538 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ | |
539 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ | |
540 | esac; | |
541 | $(top_srcdir)/docs/gtk-doc.make: | |
542 | ||
543 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | |
544 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
545 | ||
546 | $(top_srcdir)/configure: $(am__configure_deps) | |
547 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
548 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) | |
549 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | |
550 | $(am__aclocal_m4_deps): | |
551 | version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in | |
552 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ | |
553 | ||
554 | mostlyclean-libtool: | |
555 | -rm -f *.lo | |
556 | ||
557 | clean-libtool: | |
558 | -rm -rf .libs _libs | |
559 | tags TAGS: | |
560 | ||
561 | ctags CTAGS: | |
562 | ||
563 | cscope cscopelist: | |
564 | ||
565 | ||
566 | distdir: $(DISTFILES) | |
567 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
568 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | |
569 | list='$(DISTFILES)'; \ | |
570 | dist_files=`for file in $$list; do echo $$file; done | \ | |
571 | sed -e "s|^$$srcdirstrip/||;t" \ | |
572 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | |
573 | case $$dist_files in \ | |
574 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | |
575 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | |
576 | sort -u` ;; \ | |
577 | esac; \ | |
578 | for file in $$dist_files; do \ | |
579 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
580 | if test -d $$d/$$file; then \ | |
581 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
582 | if test -d "$(distdir)/$$file"; then \ | |
583 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
584 | fi; \ | |
585 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | |
586 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | |
587 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | |
588 | fi; \ | |
589 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | |
590 | else \ | |
591 | test -f "$(distdir)/$$file" \ | |
592 | || cp -p $$d/$$file "$(distdir)/$$file" \ | |
593 | || exit 1; \ | |
594 | fi; \ | |
595 | done | |
596 | $(MAKE) $(AM_MAKEFLAGS) \ | |
597 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | |
598 | dist-hook | |
599 | check-am: all-am | |
600 | check: check-am | |
601 | all-am: Makefile all-local | |
602 | installdirs: | |
603 | install: install-am | |
604 | install-exec: install-exec-am | |
605 | install-data: install-data-am | |
606 | uninstall: uninstall-am | |
607 | ||
608 | install-am: all-am | |
609 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
610 | ||
611 | installcheck: installcheck-am | |
612 | install-strip: | |
613 | if test -z '$(STRIP)'; then \ | |
614 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
615 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
616 | install; \ | |
617 | else \ | |
618 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
619 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
620 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
621 | fi | |
622 | mostlyclean-generic: | |
623 | ||
624 | clean-generic: | |
625 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) | |
626 | ||
627 | distclean-generic: | |
628 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | |
629 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | |
630 | ||
631 | maintainer-clean-generic: | |
632 | @echo "This command is intended for maintainers to use" | |
633 | @echo "it deletes files that may require special tools to rebuild." | |
634 | clean: clean-am | |
635 | ||
636 | clean-am: clean-generic clean-libtool clean-local mostlyclean-am | |
637 | ||
638 | distclean: distclean-am | |
639 | -rm -f Makefile | |
640 | distclean-am: clean-am distclean-generic distclean-local | |
641 | ||
642 | dvi: dvi-am | |
643 | ||
644 | dvi-am: | |
645 | ||
646 | html: html-am | |
647 | ||
648 | html-am: | |
649 | ||
650 | info: info-am | |
651 | ||
652 | info-am: | |
653 | ||
654 | install-data-am: install-data-local | |
655 | ||
656 | install-dvi: install-dvi-am | |
657 | ||
658 | install-dvi-am: | |
659 | ||
660 | install-exec-am: | |
661 | ||
662 | install-html: install-html-am | |
663 | ||
664 | install-html-am: | |
665 | ||
666 | install-info: install-info-am | |
667 | ||
668 | install-info-am: | |
669 | ||
670 | install-man: | |
671 | ||
672 | install-pdf: install-pdf-am | |
673 | ||
674 | install-pdf-am: | |
675 | ||
676 | install-ps: install-ps-am | |
677 | ||
678 | install-ps-am: | |
679 | ||
680 | installcheck-am: | |
681 | ||
682 | maintainer-clean: maintainer-clean-am | |
683 | -rm -f Makefile | |
684 | maintainer-clean-am: distclean-am maintainer-clean-generic \ | |
685 | maintainer-clean-local | |
686 | ||
687 | mostlyclean: mostlyclean-am | |
688 | ||
689 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | |
690 | ||
691 | pdf: pdf-am | |
692 | ||
693 | pdf-am: | |
694 | ||
695 | ps: ps-am | |
696 | ||
697 | ps-am: | |
698 | ||
699 | uninstall-am: uninstall-local | |
700 | ||
701 | .MAKE: install-am install-strip | |
702 | ||
703 | .PHONY: all all-am all-local check check-am clean clean-generic \ | |
704 | clean-libtool clean-local cscopelist-am ctags-am dist-hook \ | |
705 | distclean distclean-generic distclean-libtool distclean-local \ | |
706 | distdir dvi dvi-am html html-am info info-am install \ | |
707 | install-am install-data install-data-am install-data-local \ | |
708 | install-dvi install-dvi-am install-exec install-exec-am \ | |
709 | install-html install-html-am install-info install-info-am \ | |
710 | install-man install-pdf install-pdf-am install-ps \ | |
711 | install-ps-am install-strip installcheck installcheck-am \ | |
712 | installdirs maintainer-clean maintainer-clean-generic \ | |
713 | maintainer-clean-local mostlyclean mostlyclean-generic \ | |
714 | mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \ | |
715 | uninstall-am uninstall-local | |
716 | ||
717 | ||
718 | # Hack, hack. You silly gtk-doc, you must not add CFLAGS multiple | |
719 | # times when calling gcc; it surely can not work with options that must | |
720 | # be listed only once. | |
721 | # Kill CFLAGS here because gtk-doc thinks adding CFLAGS to CC _and_ also | |
722 | # adding CFLAGS itself again would work. | |
723 | override CFLAGS= | |
724 | override LDFLAGS= | |
725 | ||
726 | @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) | |
727 | @ENABLE_GTK_DOC_FALSE@all-local: | |
728 | ||
729 | docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP) | |
730 | ||
731 | $(REPORT_FILES): sgml-build.stamp | |
732 | ||
663996b3 | 733 | setup-build.stamp: |
14228c0d | 734 | -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ |
663996b3 MS |
735 | files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \ |
736 | if test "x$$files" != "x" ; then \ | |
737 | for file in $$files ; do \ | |
738 | test -f $(abs_srcdir)/$$file && \ | |
14228c0d | 739 | cp -pu $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ |
663996b3 MS |
740 | done; \ |
741 | fi; \ | |
742 | fi | |
14228c0d | 743 | $(AM_V_at)touch setup-build.stamp |
663996b3 MS |
744 | |
745 | scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) | |
14228c0d | 746 | $(GTK_DOC_V_SCAN)_source_dir='' ; \ |
663996b3 MS |
747 | for i in $(DOC_SOURCE_DIR) ; do \ |
748 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
749 | done ; \ | |
750 | gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) | |
14228c0d | 751 | $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ |
663996b3 MS |
752 | scanobj_options=""; \ |
753 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ | |
754 | if test "$(?)" = "0"; then \ | |
755 | if test "x$(V)" = "x1"; then \ | |
756 | scanobj_options="--verbose"; \ | |
757 | fi; \ | |
758 | fi; \ | |
759 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ | |
760 | gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ | |
761 | else \ | |
762 | for i in $(SCANOBJ_FILES) ; do \ | |
763 | test -f $$i || touch $$i ; \ | |
764 | done \ | |
765 | fi | |
14228c0d | 766 | $(AM_V_at)touch scan-build.stamp |
663996b3 MS |
767 | |
768 | $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp | |
769 | @true | |
770 | ||
663996b3 | 771 | sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) |
14228c0d | 772 | $(GTK_DOC_V_XML)_source_dir='' ; \ |
663996b3 MS |
773 | for i in $(DOC_SOURCE_DIR) ; do \ |
774 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
775 | done ; \ | |
776 | gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) | |
14228c0d | 777 | $(AM_V_at)touch sgml-build.stamp |
663996b3 MS |
778 | |
779 | sgml.stamp: sgml-build.stamp | |
780 | @true | |
781 | ||
663996b3 | 782 | html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) |
14228c0d MB |
783 | $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \ |
784 | mkhtml_options=""; \ | |
663996b3 MS |
785 | gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
786 | if test "$(?)" = "0"; then \ | |
787 | if test "x$(V)" = "x1"; then \ | |
788 | mkhtml_options="$$mkhtml_options --verbose"; \ | |
789 | fi; \ | |
790 | fi; \ | |
791 | gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ | |
792 | if test "$(?)" = "0"; then \ | |
793 | mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \ | |
794 | fi; \ | |
795 | cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) | |
796 | -@test "x$(HTML_IMAGES)" = "x" || \ | |
797 | for file in $(HTML_IMAGES) ; do \ | |
798 | if test -f $(abs_srcdir)/$$file ; then \ | |
799 | cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ | |
800 | fi; \ | |
801 | if test -f $(abs_builddir)/$$file ; then \ | |
802 | cp $(abs_builddir)/$$file $(abs_builddir)/html; \ | |
803 | fi; \ | |
804 | done; | |
14228c0d MB |
805 | $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) |
806 | $(AM_V_at)touch html-build.stamp | |
663996b3 MS |
807 | |
808 | pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) | |
14228c0d MB |
809 | $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \ |
810 | mkpdf_options=""; \ | |
663996b3 MS |
811 | gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \ |
812 | if test "$(?)" = "0"; then \ | |
813 | if test "x$(V)" = "x1"; then \ | |
814 | mkpdf_options="$$mkpdf_options --verbose"; \ | |
815 | fi; \ | |
816 | fi; \ | |
817 | if test "x$(HTML_IMAGES)" != "x"; then \ | |
818 | for img in $(HTML_IMAGES); do \ | |
819 | part=`dirname $$img`; \ | |
820 | echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \ | |
821 | if test $$? != 0; then \ | |
822 | mkpdf_options="$$mkpdf_options --imgdir=$$part"; \ | |
823 | fi; \ | |
824 | done; \ | |
825 | fi; \ | |
826 | gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS) | |
14228c0d | 827 | $(AM_V_at)touch pdf-build.stamp |
663996b3 MS |
828 | |
829 | ############## | |
830 | ||
831 | clean-local: | |
832 | @rm -f *~ *.bak | |
833 | @rm -rf .libs | |
834 | ||
835 | distclean-local: | |
836 | @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \ | |
837 | $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt | |
838 | @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ | |
839 | rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \ | |
840 | fi | |
841 | ||
14228c0d | 842 | maintainer-clean-local: |
663996b3 MS |
843 | @rm -rf xml html |
844 | ||
845 | install-data-local: | |
846 | @installfiles=`echo $(builddir)/html/*`; \ | |
847 | if test "$$installfiles" = '$(builddir)/html/*'; \ | |
848 | then echo 1>&2 'Nothing to install' ; \ | |
849 | else \ | |
850 | if test -n "$(DOC_MODULE_VERSION)"; then \ | |
851 | installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ | |
852 | else \ | |
853 | installdir="$(DESTDIR)$(TARGET_DIR)"; \ | |
854 | fi; \ | |
855 | $(mkinstalldirs) $${installdir} ; \ | |
856 | for i in $$installfiles; do \ | |
857 | echo ' $(INSTALL_DATA) '$$i ; \ | |
858 | $(INSTALL_DATA) $$i $${installdir}; \ | |
859 | done; \ | |
860 | if test -n "$(DOC_MODULE_VERSION)"; then \ | |
861 | mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ | |
862 | $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ | |
863 | fi; \ | |
864 | $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \ | |
865 | fi | |
866 | ||
867 | uninstall-local: | |
868 | @if test -n "$(DOC_MODULE_VERSION)"; then \ | |
869 | installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ | |
870 | else \ | |
871 | installdir="$(DESTDIR)$(TARGET_DIR)"; \ | |
872 | fi; \ | |
873 | rm -rf $${installdir} | |
874 | ||
875 | # | |
876 | # Require gtk-doc when making dist | |
877 | # | |
14228c0d | 878 | @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: docs |
663996b3 MS |
879 | @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: |
880 | @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist" | |
881 | @ENABLE_GTK_DOC_FALSE@ @false | |
882 | ||
883 | dist-hook: dist-check-gtkdoc dist-hook-local | |
884 | @mkdir $(distdir)/html | |
885 | @cp ./html/* $(distdir)/html | |
886 | @-cp ./$(DOC_MODULE).pdf $(distdir)/ | |
887 | @-cp ./$(DOC_MODULE).types $(distdir)/ | |
888 | @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/ | |
889 | @cd $(distdir) && rm -f $(DISTCLEANFILES) | |
890 | @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html | |
891 | ||
892 | .PHONY : dist-hook-local docs | |
893 | ||
894 | # Files not to distribute | |
895 | # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types | |
896 | # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt | |
897 | #DISTCLEANFILES += | |
898 | ||
899 | # Comment this out if you want your docs-status tested during 'make check' | |
900 | #TESTS_ENVIRONMENT = cd $(top_srcdir) | |
901 | #TESTS = $(GTKDOC_CHECK) | |
902 | ||
903 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | |
904 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
905 | .NOEXPORT: |