1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
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 target_triplet = @target@
43 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
44 $(top_srcdir)/gtk-doc.make
45 subdir = docs/reference
46 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
48 $(top_srcdir)/configure.ac
49 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51 mkinstalldirs = $(install_sh) -d
52 CONFIG_HEADER = $(top_builddir)/config.h
54 CONFIG_CLEAN_VPATH_FILES =
57 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
59 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
61 API_VERSION = @API_VERSION@
64 AUTOHEADER = @AUTOHEADER@
68 CCDEPMODE = @CCDEPMODE@
73 CYGPATH_W = @CYGPATH_W@
78 DOLT_BASH = @DOLT_BASH@
88 GAPI_CODEGEN = @GAPI_CODEGEN@
89 GAPI_FIXUP = @GAPI_FIXUP@
90 GAPI_PARSER = @GAPI_PARSER@
91 GAPI_TOOLS_CFLAGS = @GAPI_TOOLS_CFLAGS@
92 GAPI_TOOLS_LIBS = @GAPI_TOOLS_LIBS@
93 GLIB_CFLAGS = @GLIB_CFLAGS@
94 GLIB_COMPILE_RESOURCES = @GLIB_COMPILE_RESOURCES@
95 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
96 GLIB_LIBS = @GLIB_LIBS@
97 GLIB_MKENUMS = @GLIB_MKENUMS@
98 GLIB_SHARP_CFLAGS = @GLIB_SHARP_CFLAGS@
99 GLIB_SHARP_LIBS = @GLIB_SHARP_LIBS@
100 GMIME_API_VERSION = @GMIME_API_VERSION@
101 GMIME_BINARY_AGE = @GMIME_BINARY_AGE@
102 GMIME_CFLAGS = @GMIME_CFLAGS@
103 GMIME_INCLUDEDIR = @GMIME_INCLUDEDIR@
104 GMIME_INTERFACE_AGE = @GMIME_INTERFACE_AGE@
105 GMIME_LIBDIR = @GMIME_LIBDIR@
106 GMIME_LIBS = @GMIME_LIBS@
107 GMIME_LIBS_PRIVATE = @GMIME_LIBS_PRIVATE@
108 GMIME_MAJOR_VERSION = @GMIME_MAJOR_VERSION@
109 GMIME_MICRO_VERSION = @GMIME_MICRO_VERSION@
110 GMIME_MINOR_VERSION = @GMIME_MINOR_VERSION@
111 GMIME_VERSION = @GMIME_VERSION@
112 GOBJECT_QUERY = @GOBJECT_QUERY@
113 GPGME_CONFIG = @GPGME_CONFIG@
114 GPGME_PTHREAD_CFLAGS = @GPGME_PTHREAD_CFLAGS@
115 GPGME_PTHREAD_LIBS = @GPGME_PTHREAD_LIBS@
117 GTKDOC_CHECK = @GTKDOC_CHECK@
118 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
119 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
120 GTKDOC_MKPDF = @GTKDOC_MKPDF@
121 GTKDOC_REBASE = @GTKDOC_REBASE@
122 HTML_DIR = $(datadir)/gtk-doc/html
124 INSTALL_DATA = @INSTALL_DATA@
125 INSTALL_PROGRAM = @INSTALL_PROGRAM@
126 INSTALL_SCRIPT = @INSTALL_SCRIPT@
127 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
130 LIBICONV = @LIBICONV@
134 LIB_EXE_MACHINE_FLAG = @LIB_EXE_MACHINE_FLAG@
137 LTCOMPILE = @LTCOMPILE@
138 LTCXXCOMPILE = @LTCXXCOMPILE@
139 LTLIBICONV = @LTLIBICONV@
140 LTLIBOBJS = @LTLIBOBJS@
142 LT_CURRENT = @LT_CURRENT@
143 LT_CURRENT_MINUS_AGE = @LT_CURRENT_MINUS_AGE@
144 LT_RELEASE = @LT_RELEASE@
145 LT_REVISION = @LT_REVISION@
147 MAKEINFO = @MAKEINFO@
148 MANIFEST_TOOL = @MANIFEST_TOOL@
158 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
159 PACKAGE_NAME = @PACKAGE_NAME@
160 PACKAGE_STRING = @PACKAGE_STRING@
161 PACKAGE_TARNAME = @PACKAGE_TARNAME@
162 PACKAGE_URL = @PACKAGE_URL@
163 PACKAGE_VERSION = @PACKAGE_VERSION@
164 PATH_SEPARATOR = @PATH_SEPARATOR@
165 PKG_CONFIG = @PKG_CONFIG@
166 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
167 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
171 SET_MAKE = @SET_MAKE@
177 abs_builddir = @abs_builddir@
178 abs_srcdir = @abs_srcdir@
179 abs_top_builddir = @abs_top_builddir@
180 abs_top_srcdir = @abs_top_srcdir@
181 ac_ct_AR = @ac_ct_AR@
182 ac_ct_CC = @ac_ct_CC@
183 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
184 am__include = @am__include@
185 am__leading_dot = @am__leading_dot@
186 am__quote = @am__quote@
188 am__untar = @am__untar@
191 build_alias = @build_alias@
192 build_cpu = @build_cpu@
193 build_os = @build_os@
194 build_vendor = @build_vendor@
195 builddir = @builddir@
197 datarootdir = @datarootdir@
200 exec_prefix = @exec_prefix@
203 host_alias = @host_alias@
204 host_cpu = @host_cpu@
206 host_vendor = @host_vendor@
208 includedir = @includedir@
210 install_sh = @install_sh@
212 libexecdir = @libexecdir@
213 localedir = @localedir@
214 localstatedir = @localstatedir@
217 ms_librarian = @ms_librarian@
218 oldincludedir = @oldincludedir@
221 program_transform_name = @program_transform_name@
224 sharedstatedir = @sharedstatedir@
226 sysconfdir = @sysconfdir@
228 target_alias = @target_alias@
229 target_cpu = @target_cpu@
230 target_os = @target_os@
231 target_vendor = @target_vendor@
232 top_build_prefix = @top_build_prefix@
233 top_builddir = @top_builddir@
234 top_srcdir = @top_srcdir@
236 # The name of the module.
237 DOC_MODULE_VERSION = $(GMIME_MAJOR_VERSION).$(GMIME_MINOR_VERSION)
240 # The top-level SGML file.
241 DOC_MAIN_SGML_FILE = gmime-docs.sgml
243 # The directory containing the source code (if it contains documentation).
244 DOC_SOURCE_DIR = $(top_srcdir)/gmime
246 # Images to copy into HTML directory
249 # Extra options to supply to gtkdoc-scan
250 SCAN_OPTIONS = --deprecated-guards="GMIME_DISABLE_DEPRECATED"
252 # Extra options to pass to gtkdoc-scangobj
253 SCANGOBJ_OPTIONS = --type-init-func="g_mime_init (0)"
255 # Extra options to supply to gtkdoc-mkdb
256 MKDB_OPTIONS = --sgml-mode --output-format=xml --ignore-files=trio
258 # CFLAGS and LDFLAGS for compiling scan program. Only needed
259 # if $(DOC_MODULE).types is non-empty.
263 -I$(top_builddir)/gmime \
267 $(top_builddir)/util/libgmime-util.la \
268 $(top_builddir)/gmime/libgmime-$(GMIME_API_VERSION).la \
272 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
282 question_index.sgml \
288 # Used for dependencies
289 HFILE_GLOB = $(top_srcdir)/gmime/*.h
290 CFILE_GLOB = $(top_srcdir)/gmime/*.c
292 # Header files to ignore when scanning
294 gmime-charset-map-private.h \
295 gmime-table-private.h \
296 gmime-parse-utils.h \
301 # Extra options to supply to gtkdoc-fixref
303 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
304 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
305 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
306 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
307 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
308 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
310 # We set GPATH here; this gives us semantics for GNU make
311 # which are more like other make's VPATH, when it comes to
312 # whether a source that is a target of one rule is then
313 # searched for in VPATH/GPATH.
316 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
319 $(DOC_MAIN_SGML_FILE) \
320 $(DOC_MODULE)-sections.txt \
321 $(DOC_MODULE)-overrides.txt
324 # Other files to distribute
325 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES) $(DOC_MODULE)-docs.sgml \
327 DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
328 html-build.stamp pdf-build.stamp \
329 tmpl.stamp sgml.stamp html.stamp pdf.stamp
333 $(DOC_MODULE).hierarchy \
334 $(DOC_MODULE).interfaces \
335 $(DOC_MODULE).prerequisites \
336 $(DOC_MODULE).signals
339 $(DOC_MODULE)-undocumented.txt \
340 $(DOC_MODULE)-undeclared.txt \
341 $(DOC_MODULE)-unused.txt
343 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
344 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
345 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
346 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
347 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
352 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
354 case '$(am__configure_deps)' in \
356 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
357 && { if test -f $@; then exit 0; else break; fi; }; \
361 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/reference/Makefile'; \
362 $(am__cd) $(top_srcdir) && \
363 $(AUTOMAKE) --foreign docs/reference/Makefile
365 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
368 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
370 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
371 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
373 $(top_srcdir)/gtk-doc.make:
375 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
376 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
378 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
379 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
380 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
381 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382 $(am__aclocal_m4_deps):
396 distdir: $(DISTFILES)
397 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
398 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
399 list='$(DISTFILES)'; \
400 dist_files=`for file in $$list; do echo $$file; done | \
401 sed -e "s|^$$srcdirstrip/||;t" \
402 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
403 case $$dist_files in \
404 */*) $(MKDIR_P) `echo "$$dist_files" | \
405 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
408 for file in $$dist_files; do \
409 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
410 if test -d $$d/$$file; then \
411 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
412 if test -d "$(distdir)/$$file"; then \
413 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
415 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
416 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
417 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
419 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
421 test -f "$(distdir)/$$file" \
422 || cp -p $$d/$$file "$(distdir)/$$file" \
426 $(MAKE) $(AM_MAKEFLAGS) \
427 top_distdir="$(top_distdir)" distdir="$(distdir)" \
431 all-am: Makefile all-local
434 install-exec: install-exec-am
435 install-data: install-data-am
436 uninstall: uninstall-am
439 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
441 installcheck: installcheck-am
443 if test -z '$(STRIP)'; then \
444 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
445 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
448 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
449 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
450 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
455 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
458 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
459 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
461 maintainer-clean-generic:
462 @echo "This command is intended for maintainers to use"
463 @echo "it deletes files that may require special tools to rebuild."
466 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
468 distclean: distclean-am
470 distclean-am: clean-am distclean-generic distclean-local
484 install-data-am: install-data-local
486 install-dvi: install-dvi-am
492 install-html: install-html-am
496 install-info: install-info-am
502 install-pdf: install-pdf-am
506 install-ps: install-ps-am
512 maintainer-clean: maintainer-clean-am
514 maintainer-clean-am: distclean-am maintainer-clean-generic \
515 maintainer-clean-local
517 mostlyclean: mostlyclean-am
519 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
529 uninstall-am: uninstall-local
531 .MAKE: install-am install-strip
533 .PHONY: all all-am all-local check check-am clean clean-generic \
534 clean-libtool clean-local dist-hook distclean \
535 distclean-generic distclean-libtool distclean-local distdir \
536 dvi dvi-am html html-am info info-am install install-am \
537 install-data install-data-am install-data-local install-dvi \
538 install-dvi-am install-exec install-exec-am install-html \
539 install-html-am install-info install-info-am install-man \
540 install-pdf install-pdf-am install-ps install-ps-am \
541 install-strip installcheck installcheck-am installdirs \
542 maintainer-clean maintainer-clean-generic \
543 maintainer-clean-local mostlyclean mostlyclean-generic \
544 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
548 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
549 @ENABLE_GTK_DOC_FALSE@all-local:
551 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
553 $(REPORT_FILES): sgml-build.stamp
558 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
559 echo ' DOC Preparing build'; \
560 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
561 if test "x$$files" != "x" ; then \
562 for file in $$files ; do \
563 test -f $(abs_srcdir)/$$file && \
564 cp -pu $(abs_srcdir)/$$file $(abs_builddir)/ || true; \
567 test -d $(abs_srcdir)/tmpl && \
568 { cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
569 chmod -R u+w $(abs_builddir)/tmpl; } \
571 @touch setup-build.stamp
575 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
576 @echo ' DOC Scanning header files'
578 for i in $(DOC_SOURCE_DIR) ; do \
579 _source_dir="$${_source_dir} --source-dir=$$i" ; \
581 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
582 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
583 echo " DOC Introspecting gobjects"; \
584 scanobj_options=""; \
585 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
586 if test "$(?)" = "0"; then \
587 if test "x$(V)" = "x1"; then \
588 scanobj_options="--verbose"; \
591 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
592 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
594 for i in $(SCANOBJ_FILES) ; do \
595 test -f $$i || touch $$i ; \
598 @touch scan-build.stamp
600 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
605 tmpl-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
606 @echo ' DOC Rebuilding template files'
607 @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
608 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
609 if test -w $(abs_srcdir) ; then \
610 cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
613 @touch tmpl-build.stamp
615 tmpl.stamp: tmpl-build.stamp
618 $(srcdir)/tmpl/*.sgml:
623 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
624 @echo ' DOC Building XML'
625 @-chmod -R u+w $(srcdir)
627 for i in $(DOC_SOURCE_DIR) ; do \
628 _source_dir="$${_source_dir} --source-dir=$$i" ; \
630 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)
631 @touch sgml-build.stamp
633 sgml.stamp: sgml-build.stamp
638 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
639 @echo ' DOC Building HTML'
642 @mkhtml_options=""; \
643 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
644 if test "$(?)" = "0"; then \
645 if test "x$(V)" = "x1"; then \
646 mkhtml_options="$$mkhtml_options --verbose"; \
649 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
650 if test "$(?)" = "0"; then \
651 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
653 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
654 -@test "x$(HTML_IMAGES)" = "x" || \
655 for file in $(HTML_IMAGES) ; do \
656 if test -f $(abs_srcdir)/$$file ; then \
657 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
659 if test -f $(abs_builddir)/$$file ; then \
660 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
663 @echo ' DOC Fixing cross-references'
664 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
665 @touch html-build.stamp
669 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
670 @echo ' DOC Building PDF'
671 @rm -f $(DOC_MODULE).pdf
673 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
674 if test "$(?)" = "0"; then \
675 if test "x$(V)" = "x1"; then \
676 mkpdf_options="$$mkpdf_options --verbose"; \
679 if test "x$(HTML_IMAGES)" != "x"; then \
680 for img in $(HTML_IMAGES); do \
681 part=`dirname $$img`; \
682 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
683 if test $$? != 0; then \
684 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
688 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
689 @touch pdf-build.stamp
698 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
699 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
700 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
701 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
705 maintainer-clean-local: clean
709 @installfiles=`echo $(builddir)/html/*`; \
710 if test "$$installfiles" = '$(builddir)/html/*'; \
711 then echo 1>&2 'Nothing to install' ; \
713 if test -n "$(DOC_MODULE_VERSION)"; then \
714 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
716 installdir="$(DESTDIR)$(TARGET_DIR)"; \
718 $(mkinstalldirs) $${installdir} ; \
719 for i in $$installfiles; do \
720 echo ' $(INSTALL_DATA) '$$i ; \
721 $(INSTALL_DATA) $$i $${installdir}; \
723 if test -n "$(DOC_MODULE_VERSION)"; then \
724 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
725 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
727 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
731 @if test -n "$(DOC_MODULE_VERSION)"; then \
732 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
734 installdir="$(DESTDIR)$(TARGET_DIR)"; \
736 rm -rf $${installdir}
739 # Require gtk-doc when making dist
741 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
742 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
743 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
744 @ENABLE_GTK_DOC_FALSE@ @false
746 dist-hook: dist-check-gtkdoc dist-hook-local
747 @mkdir $(distdir)/tmpl
748 @mkdir $(distdir)/html
749 @-cp ./tmpl/*.sgml $(distdir)/tmpl
750 @cp ./html/* $(distdir)/html
751 @-cp ./$(DOC_MODULE).pdf $(distdir)/
752 @-cp ./$(DOC_MODULE).types $(distdir)/
753 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
754 @cd $(distdir) && rm -f $(DISTCLEANFILES)
755 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
757 .PHONY : dist-hook-local docs
759 dist-hook-local: $(BUILT_EXTRA_DIST)
760 files='$(BUILT_EXTRA_DIST)'; \
761 for f in $$files; do \
762 if test -f $$f; then d=.; else d=$(srcdir); fi; \
763 cp $$d/$$f $(distdir) || exit 1; done
765 # Tell versions [3.59,3.63) of GNU make to not export all variables.
766 # Otherwise a system limit (for SysV at least) may be exceeded.