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 $(top_srcdir)/gtk-doc.make
44 subdir = docs/libglbarcode
45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
47 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
49 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
50 CONFIG_HEADER = $(top_builddir)/config.h
52 CONFIG_CLEAN_VPATH_FILES =
53 AM_V_GEN = $(am__v_GEN_$(V))
54 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
55 am__v_GEN_0 = @echo " GEN " $@;
56 AM_V_at = $(am__v_at_$(V))
57 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
61 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
63 ALL_LINGUAS = @ALL_LINGUAS@
65 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
68 AUTOHEADER = @AUTOHEADER@
71 CAIRO_REQUIRED = @CAIRO_REQUIRED@
73 CATOBJEXT = @CATOBJEXT@
75 CCDEPMODE = @CCDEPMODE@
79 CYGPATH_W = @CYGPATH_W@
80 DATADIRNAME = @DATADIRNAME@
83 DISABLE_DEPRECATED_CFLAGS = @DISABLE_DEPRECATED_CFLAGS@
84 DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
86 DOC_USER_FORMATS = @DOC_USER_FORMATS@
95 GDK_PIXBUF_CSOURCE = @GDK_PIXBUF_CSOURCE@
96 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
97 GLABELS_BRANCH = @GLABELS_BRANCH@
98 GLABELS_CFLAGS = @GLABELS_CFLAGS@
99 GLABELS_LIBS = @GLABELS_LIBS@
100 GLIB_COMPILE_SCHEMAS = @GLIB_COMPILE_SCHEMAS@
101 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
102 GLIB_REQUIRED = @GLIB_REQUIRED@
103 GMOFILES = @GMOFILES@
106 GSETTINGS_DISABLE_SCHEMAS_COMPILE = @GSETTINGS_DISABLE_SCHEMAS_COMPILE@
107 GTKDOC_CHECK = @GTKDOC_CHECK@
108 GTKDOC_MKPDF = @GTKDOC_MKPDF@
109 GTKDOC_REBASE = @GTKDOC_REBASE@
110 GTK_REQUIRED = @GTK_REQUIRED@
111 GTK_UPDATE_ICON_CACHE = @GTK_UPDATE_ICON_CACHE@
112 HELP_DIR = @HELP_DIR@
113 HTML_DIR = @HTML_DIR@
115 INSTALL_DATA = @INSTALL_DATA@
116 INSTALL_PROGRAM = @INSTALL_PROGRAM@
117 INSTALL_SCRIPT = @INSTALL_SCRIPT@
118 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
119 INSTOBJEXT = @INSTOBJEXT@
120 INTLLIBS = @INTLLIBS@
121 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
122 INTLTOOL_MERGE = @INTLTOOL_MERGE@
123 INTLTOOL_PERL = @INTLTOOL_PERL@
124 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
127 LIBBARCODE_CFLAGS = @LIBBARCODE_CFLAGS@
128 LIBBARCODE_LIBS = @LIBBARCODE_LIBS@
129 LIBBARCODE_REQUIRED = @LIBBARCODE_REQUIRED@
130 LIBEBOOK_CFLAGS = @LIBEBOOK_CFLAGS@
131 LIBEBOOK_LIBS = @LIBEBOOK_LIBS@
132 LIBEBOOK_REQUIRED = @LIBEBOOK_REQUIRED@
133 LIBGLABELS_API_VERSION = @LIBGLABELS_API_VERSION@
134 LIBGLABELS_BRANCH = @LIBGLABELS_BRANCH@
135 LIBGLABELS_CFLAGS = @LIBGLABELS_CFLAGS@
136 LIBGLABELS_LIBS = @LIBGLABELS_LIBS@
137 LIBGLBARCODE_API_VERSION = @LIBGLBARCODE_API_VERSION@
138 LIBGLBARCODE_BRANCH = @LIBGLBARCODE_BRANCH@
139 LIBGLBARCODE_CFLAGS = @LIBGLBARCODE_CFLAGS@
140 LIBGLBARCODE_LIBS = @LIBGLBARCODE_LIBS@
141 LIBIEC16022_CFLAGS = @LIBIEC16022_CFLAGS@
142 LIBIEC16022_LIBS = @LIBIEC16022_LIBS@
143 LIBIEC16022_REQUIRED = @LIBIEC16022_REQUIRED@
145 LIBQRENCODE_CFLAGS = @LIBQRENCODE_CFLAGS@
146 LIBQRENCODE_LIBS = @LIBQRENCODE_LIBS@
147 LIBQRENCODE_REQUIRED = @LIBQRENCODE_REQUIRED@
148 LIBRSVG_REQUIRED = @LIBRSVG_REQUIRED@
151 LIBXML_REQUIRED = @LIBXML_REQUIRED@
152 LIBZINT_CFLAGS = @LIBZINT_CFLAGS@
153 LIBZINT_LIBS = @LIBZINT_LIBS@
154 LIBZINT_REQUIRED = @LIBZINT_REQUIRED@
157 LTLIBOBJS = @LTLIBOBJS@
159 MAKEINFO = @MAKEINFO@
160 MANIFEST_TOOL = @MANIFEST_TOOL@
162 MKINSTALLDIRS = @MKINSTALLDIRS@
164 MSGFMT_OPTS = @MSGFMT_OPTS@
165 MSGMERGE = @MSGMERGE@
174 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
175 PACKAGE_NAME = @PACKAGE_NAME@
176 PACKAGE_STRING = @PACKAGE_STRING@
177 PACKAGE_TARNAME = @PACKAGE_TARNAME@
178 PACKAGE_URL = @PACKAGE_URL@
179 PACKAGE_VERSION = @PACKAGE_VERSION@
180 PANGO_REQUIRED = @PANGO_REQUIRED@
181 PATH_SEPARATOR = @PATH_SEPARATOR@
182 PKG_CONFIG = @PKG_CONFIG@
183 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
184 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
187 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
188 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
191 SET_MAKE = @SET_MAKE@
196 WARN_CFLAGS = @WARN_CFLAGS@
197 XGETTEXT = @XGETTEXT@
198 abs_builddir = @abs_builddir@
199 abs_srcdir = @abs_srcdir@
200 abs_top_builddir = @abs_top_builddir@
201 abs_top_srcdir = @abs_top_srcdir@
202 ac_ct_AR = @ac_ct_AR@
203 ac_ct_CC = @ac_ct_CC@
204 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
205 am__include = @am__include@
206 am__leading_dot = @am__leading_dot@
207 am__quote = @am__quote@
209 am__untar = @am__untar@
212 build_alias = @build_alias@
213 build_cpu = @build_cpu@
214 build_os = @build_os@
215 build_vendor = @build_vendor@
216 builddir = @builddir@
218 datarootdir = @datarootdir@
221 exec_prefix = @exec_prefix@
222 gsettingsschemadir = @gsettingsschemadir@
224 host_alias = @host_alias@
225 host_cpu = @host_cpu@
227 host_vendor = @host_vendor@
229 includedir = @includedir@
231 install_sh = @install_sh@
233 libexecdir = @libexecdir@
234 localedir = @localedir@
235 localstatedir = @localstatedir@
238 oldincludedir = @oldincludedir@
241 program_transform_name = @program_transform_name@
244 sharedstatedir = @sharedstatedir@
246 sysconfdir = @sysconfdir@
247 target_alias = @target_alias@
248 top_build_prefix = @top_build_prefix@
249 top_builddir = @top_builddir@
250 top_srcdir = @top_srcdir@
252 # We require automake 1.6 at least.
253 AUTOMAKE_OPTIONS = 1.6
255 # This is a blank Makefile.am for using gtk-doc.
256 # Copy this to your project's API docs directory and modify the variables to
257 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
258 # of using the various options.
260 # The name of the module, e.g. 'glib'.
261 DOC_MODULE = libglbarcode-3.0
263 # The top-level SGML file. You can change this if you want to.
264 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
266 # The directory containing the source code. Relative to $(srcdir).
267 # gtk-doc will search all .c & .h files beneath here for inline comments
268 # documenting the functions and macros.
269 # e.g. DOC_SOURCE_DIR=../../../gtk
270 DOC_SOURCE_DIR = ../../libglbarcode
272 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
275 # Extra options to supply to gtkdoc-scan.
276 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
279 # Extra options to supply to gtkdoc-mkdb.
280 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
281 MKDB_OPTIONS = --sgml-mode --output-format=xml
283 # Extra options to supply to gtkdoc-fixref. Not normally needed.
284 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
287 # Used for dependencies. The docs will be rebuilt if any of these change.
288 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
289 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
293 # Header files to ignore when scanning.
294 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
296 lgl-barcode-code39.h \
297 lgl-barcode-onecode.h \
298 lgl-barcode-postnet.h
301 # Images to copy into HTML directory.
302 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
305 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
306 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
311 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
312 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
313 # signals and properties.
314 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
315 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
318 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
319 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
320 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
321 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
322 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
323 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
325 # We set GPATH here; this gives us semantics for GNU make
326 # which are more like other make's VPATH, when it comes to
327 # whether a source that is a target of one rule is then
328 # searched for in VPATH/GPATH.
331 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
334 $(DOC_MAIN_SGML_FILE) \
335 $(DOC_MODULE)-sections.txt \
336 $(DOC_MODULE)-overrides.txt
339 # This includes the standard gtk-doc make rules, copied by gtkdocize.
341 # Other files to distribute
342 # e.g. EXTRA_DIST += version.xml.in
343 EXTRA_DIST = $(SETUP_FILES)
344 DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
345 html-build.stamp pdf-build.stamp \
346 setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
350 $(DOC_MODULE).hierarchy \
351 $(DOC_MODULE).interfaces \
352 $(DOC_MODULE).prerequisites \
353 $(DOC_MODULE).signals
356 $(DOC_MODULE)-undocumented.txt \
357 $(DOC_MODULE)-undeclared.txt \
358 $(DOC_MODULE)-unused.txt
360 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
361 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
362 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
363 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
364 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
368 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
370 case '$(am__configure_deps)' in \
372 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
373 && { if test -f $@; then exit 0; else break; fi; }; \
377 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/libglbarcode/Makefile'; \
378 $(am__cd) $(top_srcdir) && \
379 $(AUTOMAKE) --gnu docs/libglbarcode/Makefile
381 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
384 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
386 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
387 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
390 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
391 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
393 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
394 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
395 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
396 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
397 $(am__aclocal_m4_deps):
411 distdir: $(DISTFILES)
412 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
413 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
414 list='$(DISTFILES)'; \
415 dist_files=`for file in $$list; do echo $$file; done | \
416 sed -e "s|^$$srcdirstrip/||;t" \
417 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
418 case $$dist_files in \
419 */*) $(MKDIR_P) `echo "$$dist_files" | \
420 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
423 for file in $$dist_files; do \
424 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
425 if test -d $$d/$$file; then \
426 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
427 if test -d "$(distdir)/$$file"; then \
428 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
430 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
431 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
432 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
434 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
436 test -f "$(distdir)/$$file" \
437 || cp -p $$d/$$file "$(distdir)/$$file" \
441 $(MAKE) $(AM_MAKEFLAGS) \
442 top_distdir="$(top_distdir)" distdir="$(distdir)" \
446 all-am: Makefile all-local
449 install-exec: install-exec-am
450 install-data: install-data-am
451 uninstall: uninstall-am
454 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
456 installcheck: installcheck-am
458 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
459 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
460 `test -z '$(STRIP)' || \
461 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
465 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
468 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
469 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
471 maintainer-clean-generic:
472 @echo "This command is intended for maintainers to use"
473 @echo "it deletes files that may require special tools to rebuild."
476 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
478 distclean: distclean-am
480 distclean-am: clean-am distclean-generic distclean-local
494 install-data-am: install-data-local
496 install-dvi: install-dvi-am
502 install-html: install-html-am
506 install-info: install-info-am
512 install-pdf: install-pdf-am
516 install-ps: install-ps-am
522 maintainer-clean: maintainer-clean-am
524 maintainer-clean-am: distclean-am maintainer-clean-generic \
525 maintainer-clean-local
527 mostlyclean: mostlyclean-am
529 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
539 uninstall-am: uninstall-local
541 .MAKE: install-am install-strip
543 .PHONY: all all-am all-local check check-am clean clean-generic \
544 clean-libtool clean-local dist-hook distclean \
545 distclean-generic distclean-libtool distclean-local distdir \
546 dvi dvi-am html html-am info info-am install install-am \
547 install-data install-data-am install-data-local install-dvi \
548 install-dvi-am install-exec install-exec-am install-html \
549 install-html-am install-info install-info-am install-man \
550 install-pdf install-pdf-am install-ps install-ps-am \
551 install-strip installcheck installcheck-am installdirs \
552 maintainer-clean maintainer-clean-generic \
553 maintainer-clean-local mostlyclean mostlyclean-generic \
554 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
558 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
559 @ENABLE_GTK_DOC_FALSE@all-local:
561 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
563 $(REPORT_FILES): sgml-build.stamp
568 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
569 echo 'gtk-doc: Preparing build'; \
570 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
571 if test "x$$files" != "x" ; then \
572 for file in $$files ; do \
573 test -f $(abs_srcdir)/$$file && \
574 cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
577 test -f $(abs_srcdir)/tmpl && \
578 cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
580 @touch setup-build.stamp
582 setup.stamp: setup-build.stamp
587 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
588 @echo 'gtk-doc: Scanning header files'
590 for i in $(DOC_SOURCE_DIR) ; do \
591 _source_dir="$${_source_dir} --source-dir=$$i" ; \
593 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
594 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
595 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
597 for i in $(SCANOBJ_FILES) ; do \
598 test -f $$i || touch $$i ; \
601 @touch scan-build.stamp
603 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
608 tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
609 @echo 'gtk-doc: Rebuilding template files'
610 @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
611 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
612 if test -w $(abs_srcdir) ; then \
613 cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
616 @touch tmpl-build.stamp
618 tmpl.stamp: tmpl-build.stamp
621 $(srcdir)/tmpl/*.sgml:
626 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
627 @echo 'gtk-doc: Building XML'
628 @-chmod -R u+w $(srcdir)
630 for i in $(DOC_SOURCE_DIR) ; do \
631 _source_dir="$${_source_dir} --source-dir=$$i" ; \
633 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)
634 @touch sgml-build.stamp
636 sgml.stamp: sgml-build.stamp
641 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
642 @echo 'gtk-doc: Building HTML'
645 @mkhtml_options=""; \
646 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
647 if test "$(?)" = "0"; then \
648 mkhtml_options=--path="$(abs_srcdir)"; \
650 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
651 -@test "x$(HTML_IMAGES)" = "x" || \
652 for file in $(HTML_IMAGES) ; do \
653 if test -f $(abs_srcdir)/$$file ; then \
654 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
656 if test -f $(abs_builddir)/$$file ; then \
657 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
660 @echo 'gtk-doc: Fixing cross-references'
661 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
662 @touch html-build.stamp
666 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
667 @echo 'gtk-doc: Building PDF'
668 @rm -rf $(DOC_MODULE).pdf
670 if test "x$(HTML_IMAGES)" != "x"; then \
671 for img in $(HTML_IMAGES); do \
672 part=`dirname $$img`; \
673 echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
674 if test $$? != 0; then \
675 mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
679 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
680 @touch pdf-build.stamp
689 rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
690 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
691 if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
692 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
696 maintainer-clean-local: clean
700 @installfiles=`echo $(srcdir)/html/*`; \
701 if test "$$installfiles" = '$(srcdir)/html/*'; \
702 then echo '-- Nothing to install' ; \
704 if test -n "$(DOC_MODULE_VERSION)"; then \
705 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
707 installdir="$(DESTDIR)$(TARGET_DIR)"; \
709 $(mkinstalldirs) $${installdir} ; \
710 for i in $$installfiles; do \
711 echo '-- Installing '$$i ; \
712 $(INSTALL_DATA) $$i $${installdir}; \
714 if test -n "$(DOC_MODULE_VERSION)"; then \
715 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
716 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
717 mv -f $${installdir}/$(DOC_MODULE).devhelp \
718 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
720 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
724 @if test -n "$(DOC_MODULE_VERSION)"; then \
725 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
727 installdir="$(DESTDIR)$(TARGET_DIR)"; \
729 rm -rf $${installdir}
732 # Require gtk-doc when making dist
734 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
735 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
736 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
737 @ENABLE_GTK_DOC_FALSE@ @false
739 dist-hook: dist-check-gtkdoc dist-hook-local
740 mkdir $(distdir)/tmpl
741 mkdir $(distdir)/html
742 -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
743 cp $(builddir)/html/* $(distdir)/html
744 -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
745 -cp $(build)/$(DOC_MODULE).types $(distdir)/
746 -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
747 cd $(distdir) && rm -f $(DISTCLEANFILES)
748 $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
750 .PHONY : dist-hook-local docs
752 # Tell versions [3.59,3.63) of GNU make to not export all variables.
753 # Otherwise a system limit (for SysV at least) may be exceeded.