1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # -*- mode: makefile -*-
20 ####################################
21 # Everything below here is generic #
22 ####################################
24 pkgdatadir = $(datadir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 pkglibdir = $(libdir)/@PACKAGE@
27 pkglibexecdir = $(libexecdir)/@PACKAGE@
28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
40 build_triplet = @build@
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43 $(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
44 subdir = extras/gudev/docs
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
47 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
48 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
49 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
50 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
52 mkinstalldirs = $(install_sh) -d
53 CONFIG_HEADER = $(top_builddir)/config.h
54 CONFIG_CLEAN_FILES = version.xml
55 CONFIG_CLEAN_VPATH_FILES =
56 AM_V_GEN = $(am__v_GEN_$(V))
57 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
58 am__v_GEN_0 = @echo " GEN " $@;
59 AM_V_at = $(am__v_at_$(V))
60 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
64 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
67 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
70 AUTOHEADER = @AUTOHEADER@
74 CCDEPMODE = @CCDEPMODE@
78 CYGPATH_W = @CYGPATH_W@
90 FIRMWARE_PATH = @FIRMWARE_PATH@
92 GIRTYPELIBDIR = @GIRTYPELIBDIR@
93 GLIB_CFLAGS = @GLIB_CFLAGS@
94 GLIB_LIBS = @GLIB_LIBS@
97 GTKDOC_CHECK = @GTKDOC_CHECK@
98 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
99 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
100 GTKDOC_MKPDF = @GTKDOC_MKPDF@
101 GTKDOC_REBASE = @GTKDOC_REBASE@
102 G_IR_COMPILER = @G_IR_COMPILER@
103 G_IR_GENERATE = @G_IR_GENERATE@
104 G_IR_SCANNER = @G_IR_SCANNER@
105 HTML_DIR = @HTML_DIR@
106 INCLUDE_PREFIX = @INCLUDE_PREFIX@
108 INSTALL_DATA = @INSTALL_DATA@
109 INSTALL_PROGRAM = @INSTALL_PROGRAM@
110 INSTALL_SCRIPT = @INSTALL_SCRIPT@
111 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
112 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
113 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
121 LTLIBOBJS = @LTLIBOBJS@
122 MAKEINFO = @MAKEINFO@
123 MANIFEST_TOOL = @MANIFEST_TOOL@
132 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
133 PACKAGE_NAME = @PACKAGE_NAME@
134 PACKAGE_STRING = @PACKAGE_STRING@
135 PACKAGE_TARNAME = @PACKAGE_TARNAME@
136 PACKAGE_URL = @PACKAGE_URL@
137 PACKAGE_VERSION = @PACKAGE_VERSION@
138 PATH_SEPARATOR = @PATH_SEPARATOR@
139 PCI_DATABASE = @PCI_DATABASE@
140 PKG_CONFIG = @PKG_CONFIG@
141 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
142 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
145 SELINUX_LIBS = @SELINUX_LIBS@
146 SET_MAKE = @SET_MAKE@
149 USBUTILS_CFLAGS = @USBUTILS_CFLAGS@
150 USBUTILS_LIBS = @USBUTILS_LIBS@
151 USB_DATABASE = @USB_DATABASE@
153 XSLTPROC = @XSLTPROC@
154 abs_builddir = @abs_builddir@
155 abs_srcdir = @abs_srcdir@
156 abs_top_builddir = @abs_top_builddir@
157 abs_top_srcdir = @abs_top_srcdir@
158 ac_ct_AR = @ac_ct_AR@
159 ac_ct_CC = @ac_ct_CC@
160 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
161 am__include = @am__include@
162 am__leading_dot = @am__leading_dot@
163 am__quote = @am__quote@
165 am__untar = @am__untar@
168 build_alias = @build_alias@
169 build_cpu = @build_cpu@
170 build_os = @build_os@
171 build_vendor = @build_vendor@
172 builddir = @builddir@
174 datarootdir = @datarootdir@
177 exec_prefix = @exec_prefix@
179 host_alias = @host_alias@
180 host_cpu = @host_cpu@
182 host_vendor = @host_vendor@
184 includedir = @includedir@
186 install_sh = @install_sh@
188 libexecdir = @libexecdir@
189 localedir = @localedir@
190 localstatedir = @localstatedir@
193 oldincludedir = @oldincludedir@
196 program_transform_name = @program_transform_name@
198 rootlib_execdir = @rootlib_execdir@
200 sharedstatedir = @sharedstatedir@
202 sysconfdir = @sysconfdir@
203 systemdsystemunitdir = @systemdsystemunitdir@
204 target_alias = @target_alias@
205 top_build_prefix = @top_build_prefix@
206 top_builddir = @top_builddir@
207 top_srcdir = @top_srcdir@
209 # We require automake 1.10 at least.
210 AUTOMAKE_OPTIONS = 1.10
212 # This is a blank Makefile.am for using gtk-doc.
213 # Copy this to your project's API docs directory and modify the variables to
214 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
215 # of using the various options.
217 # The name of the module, e.g. 'glib'.
220 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
221 #DOC_MODULE_VERSION=2
223 # The top-level SGML file. You can change this if you want to.
224 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
226 # The directory containing the source code. Relative to $(srcdir).
227 # gtk-doc will search all .c & .h files beneath here for inline comments
228 # documenting the functions and macros.
229 # e.g. DOC_SOURCE_DIR=../../../gtk
232 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
235 # Extra options to supply to gtkdoc-scan.
236 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
239 # Extra options to supply to gtkdoc-mkdb.
240 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
241 MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=g_udev
243 # Extra options to supply to gtkdoc-mktmpl
244 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
247 # Extra options to supply to gtkdoc-mkhtml
248 MKHTML_OPTIONS = --path=$(abs_srcdir) --path=$(abs_builddir)
250 # Extra options to supply to gtkdoc-fixref. Not normally needed.
251 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
254 # Used for dependencies. The docs will be rebuilt if any of these change.
255 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
256 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
257 HFILE_GLOB = $(top_srcdir)/extras/gudev/*.h
258 CFILE_GLOB = $(top_srcdir)/extras/gudev/*.c
260 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
261 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
264 # Header files to ignore when scanning. Use base file name, no paths
265 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
268 # Images to copy into HTML directory.
269 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
272 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
273 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
274 content_files = version.xml
276 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
277 # These files must be listed here *and* in content_files
278 # e.g. expand_content_files=running.sgml
279 expand_content_files =
281 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
282 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
283 # signals and properties.
284 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
285 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
287 $(DBUS_GLIB_CFLAGS) \
289 -I$(top_srcdir)/extras/gudev \
290 -I$(top_builddir)/extras/gudev
294 $(top_builddir)/extras/gudev/libgudev-1.0.la
296 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
297 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
298 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
299 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
300 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
301 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
303 # We set GPATH here; this gives us semantics for GNU make
304 # which are more like other make's VPATH, when it comes to
305 # whether a source that is a target of one rule is then
306 # searched for in VPATH/GPATH.
309 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
312 $(DOC_MAIN_SGML_FILE) \
313 $(DOC_MODULE)-sections.txt \
314 $(DOC_MODULE)-overrides.txt
317 # This includes the standard gtk-doc make rules, copied by gtkdocize.
319 # Other files to distribute
320 # e.g. EXTRA_DIST += version.xml.in
321 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) version.xml.in
322 DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
323 html-build.stamp pdf-build.stamp \
324 tmpl.stamp sgml.stamp html.stamp pdf.stamp
328 $(DOC_MODULE).hierarchy \
329 $(DOC_MODULE).interfaces \
330 $(DOC_MODULE).prerequisites \
331 $(DOC_MODULE).signals
334 $(DOC_MODULE)-undocumented.txt \
335 $(DOC_MODULE)-undeclared.txt \
336 $(DOC_MODULE)-unused.txt
338 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
339 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
340 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
341 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
342 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
346 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
348 case '$(am__configure_deps)' in \
350 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
351 && { if test -f $@; then exit 0; else break; fi; }; \
355 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign extras/gudev/docs/Makefile'; \
356 $(am__cd) $(top_srcdir) && \
357 $(AUTOMAKE) --foreign extras/gudev/docs/Makefile
359 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
362 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
364 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
365 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
368 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
369 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
371 $(top_srcdir)/configure: $(am__configure_deps)
372 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
373 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
374 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
375 $(am__aclocal_m4_deps):
376 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
377 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
391 distdir: $(DISTFILES)
392 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
393 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
394 list='$(DISTFILES)'; \
395 dist_files=`for file in $$list; do echo $$file; done | \
396 sed -e "s|^$$srcdirstrip/||;t" \
397 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
398 case $$dist_files in \
399 */*) $(MKDIR_P) `echo "$$dist_files" | \
400 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
403 for file in $$dist_files; do \
404 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
405 if test -d $$d/$$file; then \
406 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
407 if test -d "$(distdir)/$$file"; then \
408 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
410 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
411 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
412 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
414 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
416 test -f "$(distdir)/$$file" \
417 || cp -p $$d/$$file "$(distdir)/$$file" \
421 $(MAKE) $(AM_MAKEFLAGS) \
422 top_distdir="$(top_distdir)" distdir="$(distdir)" \
426 all-am: Makefile all-local
429 install-exec: install-exec-am
430 install-data: install-data-am
431 uninstall: uninstall-am
434 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
436 installcheck: installcheck-am
438 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
439 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
440 `test -z '$(STRIP)' || \
441 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
445 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
448 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
449 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
451 maintainer-clean-generic:
452 @echo "This command is intended for maintainers to use"
453 @echo "it deletes files that may require special tools to rebuild."
456 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
458 distclean: distclean-am
460 distclean-am: clean-am distclean-generic distclean-local
474 install-data-am: install-data-local
476 install-dvi: install-dvi-am
482 install-html: install-html-am
486 install-info: install-info-am
492 install-pdf: install-pdf-am
496 install-ps: install-ps-am
502 maintainer-clean: maintainer-clean-am
504 maintainer-clean-am: distclean-am maintainer-clean-generic \
505 maintainer-clean-local
507 mostlyclean: mostlyclean-am
509 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
519 uninstall-am: uninstall-local
521 .MAKE: install-am install-strip
523 .PHONY: all all-am all-local check check-am clean clean-generic \
524 clean-libtool clean-local dist-hook distclean \
525 distclean-generic distclean-libtool distclean-local distdir \
526 dvi dvi-am html html-am info info-am install install-am \
527 install-data install-data-am install-data-local install-dvi \
528 install-dvi-am install-exec install-exec-am install-html \
529 install-html-am install-info install-info-am install-man \
530 install-pdf install-pdf-am install-ps install-ps-am \
531 install-strip installcheck installcheck-am installdirs \
532 maintainer-clean maintainer-clean-generic \
533 maintainer-clean-local mostlyclean mostlyclean-generic \
534 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
538 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
539 @ENABLE_GTK_DOC_FALSE@all-local:
541 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
543 $(REPORT_FILES): sgml-build.stamp
548 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
549 echo ' DOC Preparing build'; \
550 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
551 if test "x$$files" != "x" ; then \
552 for file in $$files ; do \
553 test -f $(abs_srcdir)/$$file && \
554 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
557 test -d $(abs_srcdir)/tmpl && \
558 { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
559 chmod -R u+w $(abs_builddir)/tmpl; } \
561 @touch setup-build.stamp
565 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
566 @echo ' DOC Scanning header files'
568 for i in $(DOC_SOURCE_DIR) ; do \
569 _source_dir="$${_source_dir} --source-dir=$$i" ; \
571 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
572 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
573 echo " DOC Introspecting gobjects"; \
574 scanobj_options=""; \
575 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
576 if test "$(?)" = "0"; then \
577 if test "x$(V)" = "x1"; then \
578 scanobj_options="--verbose"; \
581 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
582 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
584 for i in $(SCANOBJ_FILES) ; do \
585 test -f $$i || touch $$i ; \
588 @touch scan-build.stamp
590 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
595 tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
596 @echo ' DOC Rebuilding template files'
597 @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
598 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
599 if test -w $(abs_srcdir) ; then \
600 cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
603 @touch tmpl-build.stamp
605 tmpl.stamp: tmpl-build.stamp
608 $(srcdir)/tmpl/*.sgml:
613 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
614 @echo ' DOC Building XML'
615 @-chmod -R u+w $(srcdir)
617 for i in $(DOC_SOURCE_DIR) ; do \
618 _source_dir="$${_source_dir} --source-dir=$$i" ; \
620 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)
621 @touch sgml-build.stamp
623 sgml.stamp: sgml-build.stamp
628 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
629 @echo ' DOC Building HTML'
632 @mkhtml_options=""; \
633 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
634 if test "$(?)" = "0"; then \
635 if test "x$(V)" = "x1"; then \
636 mkhtml_options="$$mkhtml_options --verbose"; \
639 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
640 if test "$(?)" = "0"; then \
641 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
643 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
644 -@test "x$(HTML_IMAGES)" = "x" || \
645 for file in $(HTML_IMAGES) ; do \
646 if test -f $(abs_srcdir)/$$file ; then \
647 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
649 if test -f $(abs_builddir)/$$file ; then \
650 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
653 @echo ' DOC Fixing cross-references'
654 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
655 @touch html-build.stamp
659 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
660 @echo ' DOC Building PDF'
661 @rm -f $(DOC_MODULE).pdf
663 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
664 if test "$(?)" = "0"; then \
665 if test "x$(V)" = "x1"; then \
666 mkpdf_options="$$mkpdf_options --verbose"; \
669 if test "x$(HTML_IMAGES)" != "x"; then \
670 for img in $(HTML_IMAGES); do \
671 part=`dirname $$img`; \
672 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
673 if test $$? != 0; then \
674 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
678 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
679 @touch pdf-build.stamp
688 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
689 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
690 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
691 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
695 maintainer-clean-local: clean
699 @installfiles=`echo $(builddir)/html/*`; \
700 if test "$$installfiles" = '$(builddir)/html/*'; \
701 then echo 1>&2 'Nothing to install' ; \
703 if test -n "$(DOC_MODULE_VERSION)"; then \
704 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
706 installdir="$(DESTDIR)$(TARGET_DIR)"; \
708 $(mkinstalldirs) $${installdir} ; \
709 for i in $$installfiles; do \
710 echo ' $(INSTALL_DATA) '$$i ; \
711 $(INSTALL_DATA) $$i $${installdir}; \
713 if test -n "$(DOC_MODULE_VERSION)"; then \
714 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
715 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
717 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
721 @if test -n "$(DOC_MODULE_VERSION)"; then \
722 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
724 installdir="$(DESTDIR)$(TARGET_DIR)"; \
726 rm -rf $${installdir}
729 # Require gtk-doc when making dist
731 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
732 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
733 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
734 @ENABLE_GTK_DOC_FALSE@ @false
736 dist-hook: dist-check-gtkdoc dist-hook-local
737 @mkdir $(distdir)/tmpl
738 @mkdir $(distdir)/html
739 @-cp ./tmpl/*.sgml $(distdir)/tmpl
740 @cp ./html/* $(distdir)/html
741 @-cp ./$(DOC_MODULE).pdf $(distdir)/
742 @-cp ./$(DOC_MODULE).types $(distdir)/
743 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
744 @cd $(distdir) && rm -f $(DISTCLEANFILES)
745 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
747 .PHONY : dist-hook-local docs
749 # Files not to distribute
750 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
751 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
754 # Comment this out if you want your docs-status tested during 'make check'
755 #TESTS_ENVIRONMENT = cd $(srcsrc)
756 #TESTS = $(GTKDOC_CHECK)
758 # Tell versions [3.59,3.63) of GNU make to not export all variables.
759 # Otherwise a system limit (for SysV at least) may be exceeded.