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 # This is a blank Makefile.am for using gtk-doc.
19 # Copy this to your project's API docs directory and modify the variables to
20 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
21 # of using the various options.
23 # -*- mode: makefile -*-
25 ####################################
26 # Everything below here is generic #
27 ####################################
29 pkgdatadir = $(datadir)/@PACKAGE@
30 pkgincludedir = $(includedir)/@PACKAGE@
31 pkglibdir = $(libdir)/@PACKAGE@
32 pkglibexecdir = $(libexecdir)/@PACKAGE@
33 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
34 install_sh_DATA = $(install_sh) -c -m 644
35 install_sh_PROGRAM = $(install_sh) -c
36 install_sh_SCRIPT = $(install_sh) -c
37 INSTALL_HEADER = $(INSTALL_DATA)
38 transform = $(program_transform_name)
45 build_triplet = @build@
47 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
48 $(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
49 subdir = doc/reference
50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51 am__aclocal_m4_deps = \
52 $(top_srcdir)/build/autotools/as-compiler-flag.m4 \
53 $(top_srcdir)/build/autotools/gtk-doc.m4 \
54 $(top_srcdir)/build/autotools/introspection.m4 \
55 $(top_srcdir)/build/autotools/libtool.m4 \
56 $(top_srcdir)/build/autotools/ltoptions.m4 \
57 $(top_srcdir)/build/autotools/ltsugar.m4 \
58 $(top_srcdir)/build/autotools/ltversion.m4 \
59 $(top_srcdir)/build/autotools/lt~obsolete.m4 \
60 $(top_srcdir)/configure.ac
61 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
63 mkinstalldirs = $(install_sh) -d
64 CONFIG_HEADER = $(top_builddir)/config.h
65 CONFIG_CLEAN_FILES = version.xml
66 CONFIG_CLEAN_VPATH_FILES =
67 AM_V_GEN = $(am__v_GEN_$(V))
68 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
69 am__v_GEN_0 = @echo " GEN " $@;
70 AM_V_at = $(am__v_at_$(V))
71 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
75 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
78 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
81 AUTOHEADER = @AUTOHEADER@
85 CCDEPMODE = @CCDEPMODE@
89 CYGPATH_W = @CYGPATH_W@
100 GLIB_CFLAGS = @GLIB_CFLAGS@
101 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
102 GLIB_LIBS = @GLIB_LIBS@
103 GLIB_MKENUMS = @GLIB_MKENUMS@
104 GLIB_PREFIX = @GLIB_PREFIX@
105 GOBJECT_QUERY = @GOBJECT_QUERY@
107 GTKDOC_CHECK = @GTKDOC_CHECK@
108 GTKDOC_MKPDF = @GTKDOC_MKPDF@
109 GTKDOC_REBASE = @GTKDOC_REBASE@
110 HTML_DIR = @HTML_DIR@
112 INSTALL_DATA = @INSTALL_DATA@
113 INSTALL_PROGRAM = @INSTALL_PROGRAM@
114 INSTALL_SCRIPT = @INSTALL_SCRIPT@
115 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
116 INTROSPECTION_COMPILER = @INTROSPECTION_COMPILER@
117 INTROSPECTION_GENERATE = @INTROSPECTION_GENERATE@
118 INTROSPECTION_GIRDIR = @INTROSPECTION_GIRDIR@
119 INTROSPECTION_SCANNER = @INTROSPECTION_SCANNER@
120 INTROSPECTION_TYPELIBDIR = @INTROSPECTION_TYPELIBDIR@
121 JSON_CFLAGS = @JSON_CFLAGS@
122 JSON_DEBUG_CFLAGS = @JSON_DEBUG_CFLAGS@
123 JSON_LIBS = @JSON_LIBS@
124 JSON_LT_LDFLAGS = @JSON_LT_LDFLAGS@
125 JSON_MAJOR_VERSION = @JSON_MAJOR_VERSION@
126 JSON_MICRO_VERSION = @JSON_MICRO_VERSION@
127 JSON_MINOR_VERSION = @JSON_MINOR_VERSION@
128 JSON_RELEASE_STATUS = @JSON_RELEASE_STATUS@
129 JSON_VERSION = @JSON_VERSION@
137 LTLIBOBJS = @LTLIBOBJS@
138 MAINTAINER_CFLAGS = @MAINTAINER_CFLAGS@
139 MAKEINFO = @MAKEINFO@
148 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
149 PACKAGE_NAME = @PACKAGE_NAME@
150 PACKAGE_STRING = @PACKAGE_STRING@
151 PACKAGE_TARNAME = @PACKAGE_TARNAME@
152 PACKAGE_URL = @PACKAGE_URL@
153 PACKAGE_VERSION = @PACKAGE_VERSION@
154 PATH_SEPARATOR = @PATH_SEPARATOR@
155 PKG_CONFIG = @PKG_CONFIG@
156 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
157 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
160 SET_MAKE = @SET_MAKE@
164 abs_builddir = @abs_builddir@
165 abs_srcdir = @abs_srcdir@
166 abs_top_builddir = @abs_top_builddir@
167 abs_top_srcdir = @abs_top_srcdir@
168 ac_ct_CC = @ac_ct_CC@
169 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
170 am__include = @am__include@
171 am__leading_dot = @am__leading_dot@
172 am__quote = @am__quote@
174 am__untar = @am__untar@
177 build_alias = @build_alias@
178 build_cpu = @build_cpu@
179 build_os = @build_os@
180 build_vendor = @build_vendor@
181 builddir = @builddir@
183 datarootdir = @datarootdir@
186 exec_prefix = @exec_prefix@
188 host_alias = @host_alias@
189 host_cpu = @host_cpu@
191 host_vendor = @host_vendor@
193 includedir = @includedir@
195 install_sh = @install_sh@
197 libexecdir = @libexecdir@
198 localedir = @localedir@
199 localstatedir = @localstatedir@
203 oldincludedir = @oldincludedir@
206 program_transform_name = @program_transform_name@
209 sharedstatedir = @sharedstatedir@
211 sysconfdir = @sysconfdir@
212 target_alias = @target_alias@
213 top_build_prefix = @top_build_prefix@
214 top_builddir = @top_builddir@
215 top_srcdir = @top_srcdir@
217 # The name of the module, e.g. 'glib'.
218 DOC_MODULE = json-glib
220 # The top-level XML file. You can change this if you want to.
221 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
223 # The directory containing the source code. Relative to $(srcdir).
224 # gtk-doc will search all .c & .h files beneath here for inline comments
225 # documenting the functions and macros.
226 # e.g. DOC_SOURCE_DIR=../../../gtk
227 DOC_SOURCE_DIR = ../../json-glib
229 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
230 SCANGOBJ_OPTIONS = --type-init-func="g_type_init()"
232 # Extra options to supply to gtkdoc-scan.
233 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
234 SCAN_OPTIONS = --deprecated-guards="JSON_DISABLE_DEPRECATED"
236 # Extra options to supply to gtkdoc-mkdb.
237 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
238 MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=json
240 # Extra options to supply to gtkdoc-mktmpl
241 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
244 # Extra options to supply to gtkdoc-fixref. Not normally needed.
245 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
247 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
248 --extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject
251 # Used for dependencies. The docs will be rebuilt if any of these change.
252 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
253 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
254 HFILE_GLOB = $(top_srcdir)/json-glib/*.h $(top_builddir)/json-glib/*.h
255 CFILE_GLOB = $(top_srcdir)/json-glib/*.c
257 # Header files to ignore when scanning.
258 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
261 json-types-private.h \
262 json-gobject-private.h \
270 # Images to copy into HTML directory.
271 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
274 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
275 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
276 content_files = version.xml
278 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
279 # These files must be listed here *and* in content_files
280 # e.g. expand_content_files=running.sgml
281 expand_content_files =
283 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
284 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
285 # signals and properties.
286 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
287 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
288 INCLUDES = -I$(top_srcdir) -I$(top_builddir) $(JSON_CFLAGS)
289 GTKDOC_LIBS = $(top_builddir)/json-glib/libjson-glib-1.0.la $(JSON_LIBS)
290 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
291 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
292 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
293 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
294 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
295 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
297 # We set GPATH here; this gives us semantics for GNU make
298 # which are more like other make's VPATH, when it comes to
299 # whether a source that is a target of one rule is then
300 # searched for in VPATH/GPATH.
303 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
305 # This includes the standard gtk-doc make rules, copied by gtkdocize.
307 # Other files to distribute
308 # e.g. EXTRA_DIST += version.xml.in
309 EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
310 $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \
312 DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
314 $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \
319 $(DOC_MODULE).hierarchy \
320 $(DOC_MODULE).interfaces \
321 $(DOC_MODULE).prerequisites \
322 $(DOC_MODULE).signals
325 $(DOC_MODULE)-undocumented.txt \
326 $(DOC_MODULE)-undeclared.txt \
327 $(DOC_MODULE)-unused.txt
329 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
330 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
331 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
332 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
333 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
337 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
339 case '$(am__configure_deps)' in \
341 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
342 && { if test -f $@; then exit 0; else break; fi; }; \
346 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/reference/Makefile'; \
347 $(am__cd) $(top_srcdir) && \
348 $(AUTOMAKE) --gnu doc/reference/Makefile
350 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
353 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
355 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
356 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
359 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
360 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
362 $(top_srcdir)/configure: $(am__configure_deps)
363 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
364 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
365 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
366 $(am__aclocal_m4_deps):
367 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
368 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
382 distdir: $(DISTFILES)
383 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
384 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
385 list='$(DISTFILES)'; \
386 dist_files=`for file in $$list; do echo $$file; done | \
387 sed -e "s|^$$srcdirstrip/||;t" \
388 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
389 case $$dist_files in \
390 */*) $(MKDIR_P) `echo "$$dist_files" | \
391 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
394 for file in $$dist_files; do \
395 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
396 if test -d $$d/$$file; then \
397 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
398 if test -d "$(distdir)/$$file"; then \
399 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
401 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
402 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
403 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
405 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
407 test -f "$(distdir)/$$file" \
408 || cp -p $$d/$$file "$(distdir)/$$file" \
412 $(MAKE) $(AM_MAKEFLAGS) \
413 top_distdir="$(top_distdir)" distdir="$(distdir)" \
416 $(MAKE) $(AM_MAKEFLAGS) check-local
418 all-am: Makefile all-local
421 install-exec: install-exec-am
422 install-data: install-data-am
423 uninstall: uninstall-am
426 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
428 installcheck: installcheck-am
430 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
431 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
432 `test -z '$(STRIP)' || \
433 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
437 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
440 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
441 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
443 maintainer-clean-generic:
444 @echo "This command is intended for maintainers to use"
445 @echo "it deletes files that may require special tools to rebuild."
448 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
450 distclean: distclean-am
452 distclean-am: clean-am distclean-generic distclean-local
466 install-data-am: install-data-local
468 install-dvi: install-dvi-am
474 install-html: install-html-am
478 install-info: install-info-am
484 install-pdf: install-pdf-am
488 install-ps: install-ps-am
494 maintainer-clean: maintainer-clean-am
496 maintainer-clean-am: distclean-am maintainer-clean-generic \
497 maintainer-clean-local
499 mostlyclean: mostlyclean-am
501 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
511 uninstall-am: uninstall-local
513 .MAKE: check-am install-am install-strip
515 .PHONY: all all-am all-local check check-am check-local clean \
516 clean-generic clean-libtool clean-local dist-hook distclean \
517 distclean-generic distclean-libtool distclean-local distdir \
518 dvi dvi-am html html-am info info-am install install-am \
519 install-data install-data-am install-data-local install-dvi \
520 install-dvi-am install-exec install-exec-am install-html \
521 install-html-am install-info install-info-am install-man \
522 install-pdf install-pdf-am install-ps install-ps-am \
523 install-strip installcheck installcheck-am installdirs \
524 maintainer-clean maintainer-clean-generic \
525 maintainer-clean-local mostlyclean mostlyclean-generic \
526 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
530 # needed to avoid including Makefile.am.gtest which redeclares
531 # EXTRA_DIST and generates a warning when the gtk-doc.make include
541 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
542 @ENABLE_GTK_DOC_FALSE@all-local:
544 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
546 $(REPORT_FILES): sgml-build.stamp
550 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
551 @echo 'gtk-doc: Scanning header files'
552 @-chmod -R u+w $(srcdir)
553 @_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
554 _source_dir="$${_source_dir} --source-dir=$$i" ; \
557 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
558 @if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
559 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
562 for i in $(SCANOBJ_FILES) ; do \
563 test -f $$i || touch $$i ; \
566 @touch scan-build.stamp
568 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
573 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
574 @echo 'gtk-doc: Rebuilding template files'
575 @-chmod -R u+w $(srcdir)
576 @cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
577 @touch tmpl-build.stamp
579 tmpl.stamp: tmpl-build.stamp
582 $(srcdir)/tmpl/*.sgml:
587 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
588 @echo 'gtk-doc: Building XML'
589 @-chmod -R u+w $(srcdir)
590 @_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
591 _source_dir="$${_source_dir} --source-dir=$$i" ; \
594 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)
595 @touch sgml-build.stamp
597 sgml.stamp: sgml-build.stamp
602 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
603 @echo 'gtk-doc: Building HTML'
604 @-chmod -R u+w $(srcdir)
605 @rm -rf $(srcdir)/html
606 @mkdir $(srcdir)/html
607 @mkhtml_options=""; \
608 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
609 if test "$(?)" = "0"; then \
610 mkhtml_options=--path="$(srcdir)"; \
612 cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
613 @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
614 @echo 'gtk-doc: Fixing cross-references'
615 @cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
616 @touch html-build.stamp
620 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
621 @echo 'gtk-doc: Building PDF'
622 @-chmod -R u+w $(srcdir)
623 @rm -rf $(srcdir)/$(DOC_MODULE).pdf
625 if test "x$(HTML_IMAGES)" != "x"; then \
626 for img in $(HTML_IMAGES); do \
627 part=`dirname $$img`; \
628 echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
629 if test $$? != 0; then \
630 mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
634 cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
635 @touch pdf-build.stamp
645 rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
646 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
648 maintainer-clean-local: clean
649 cd $(srcdir) && rm -rf xml html
652 @installfiles=`echo $(srcdir)/html/*`; \
653 if test "$$installfiles" = '$(srcdir)/html/*'; \
654 then echo '-- Nothing to install' ; \
656 if test -n "$(DOC_MODULE_VERSION)"; then \
657 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
659 installdir="$(DESTDIR)$(TARGET_DIR)"; \
661 $(mkinstalldirs) $${installdir} ; \
662 for i in $$installfiles; do \
663 echo '-- Installing '$$i ; \
664 $(INSTALL_DATA) $$i $${installdir}; \
666 if test -n "$(DOC_MODULE_VERSION)"; then \
667 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
668 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
669 mv -f $${installdir}/$(DOC_MODULE).devhelp \
670 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
672 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
676 @if test -n "$(DOC_MODULE_VERSION)"; then \
677 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
679 installdir="$(DESTDIR)$(TARGET_DIR)"; \
681 rm -rf $${installdir}
684 # Require gtk-doc when making dist
686 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
687 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
688 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
689 @ENABLE_GTK_DOC_FALSE@ @false
691 dist-hook: dist-check-gtkdoc dist-hook-local
692 mkdir $(distdir)/tmpl
693 mkdir $(distdir)/html
694 -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
695 cp $(srcdir)/html/* $(distdir)/html
696 -cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/
697 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
698 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
699 cd $(distdir) && rm -f $(DISTCLEANFILES)
700 $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
702 .PHONY : dist-hook-local docs
704 # Tell versions [3.59,3.63) of GNU make to not export all variables.
705 # Otherwise a system limit (for SysV at least) may be exceeded.