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/libglabels
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 = libglabels-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 = ../../libglabels
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
295 IGNORE_HFILES = libglabels-3.0-private.h
297 # Images to copy into HTML directory.
298 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
301 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
302 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
305 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
306 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
307 # signals and properties.
308 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
309 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
312 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
313 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
314 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
315 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
316 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
317 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
319 # We set GPATH here; this gives us semantics for GNU make
320 # which are more like other make's VPATH, when it comes to
321 # whether a source that is a target of one rule is then
322 # searched for in VPATH/GPATH.
325 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
328 $(DOC_MAIN_SGML_FILE) \
329 $(DOC_MODULE)-sections.txt \
330 $(DOC_MODULE)-overrides.txt
333 # This includes the standard gtk-doc make rules, copied by gtkdocize.
335 # Other files to distribute
336 # e.g. EXTRA_DIST += version.xml.in
337 EXTRA_DIST = $(SETUP_FILES)
338 DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
339 html-build.stamp pdf-build.stamp \
340 setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
344 $(DOC_MODULE).hierarchy \
345 $(DOC_MODULE).interfaces \
346 $(DOC_MODULE).prerequisites \
347 $(DOC_MODULE).signals
350 $(DOC_MODULE)-undocumented.txt \
351 $(DOC_MODULE)-undeclared.txt \
352 $(DOC_MODULE)-unused.txt
354 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
355 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
356 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
357 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
358 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
362 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
364 case '$(am__configure_deps)' in \
366 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
367 && { if test -f $@; then exit 0; else break; fi; }; \
371 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/libglabels/Makefile'; \
372 $(am__cd) $(top_srcdir) && \
373 $(AUTOMAKE) --gnu docs/libglabels/Makefile
375 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
378 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
380 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
381 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
384 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
385 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
387 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
388 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
389 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
390 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
391 $(am__aclocal_m4_deps):
405 distdir: $(DISTFILES)
406 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
408 list='$(DISTFILES)'; \
409 dist_files=`for file in $$list; do echo $$file; done | \
410 sed -e "s|^$$srcdirstrip/||;t" \
411 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
412 case $$dist_files in \
413 */*) $(MKDIR_P) `echo "$$dist_files" | \
414 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
417 for file in $$dist_files; do \
418 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
419 if test -d $$d/$$file; then \
420 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
421 if test -d "$(distdir)/$$file"; then \
422 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
424 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
425 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
426 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
428 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
430 test -f "$(distdir)/$$file" \
431 || cp -p $$d/$$file "$(distdir)/$$file" \
435 $(MAKE) $(AM_MAKEFLAGS) \
436 top_distdir="$(top_distdir)" distdir="$(distdir)" \
440 all-am: Makefile all-local
443 install-exec: install-exec-am
444 install-data: install-data-am
445 uninstall: uninstall-am
448 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
450 installcheck: installcheck-am
452 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
453 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
454 `test -z '$(STRIP)' || \
455 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
459 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
462 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
463 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
465 maintainer-clean-generic:
466 @echo "This command is intended for maintainers to use"
467 @echo "it deletes files that may require special tools to rebuild."
470 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
472 distclean: distclean-am
474 distclean-am: clean-am distclean-generic distclean-local
488 install-data-am: install-data-local
490 install-dvi: install-dvi-am
496 install-html: install-html-am
500 install-info: install-info-am
506 install-pdf: install-pdf-am
510 install-ps: install-ps-am
516 maintainer-clean: maintainer-clean-am
518 maintainer-clean-am: distclean-am maintainer-clean-generic \
519 maintainer-clean-local
521 mostlyclean: mostlyclean-am
523 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
533 uninstall-am: uninstall-local
535 .MAKE: install-am install-strip
537 .PHONY: all all-am all-local check check-am clean clean-generic \
538 clean-libtool clean-local dist-hook distclean \
539 distclean-generic distclean-libtool distclean-local distdir \
540 dvi dvi-am html html-am info info-am install install-am \
541 install-data install-data-am install-data-local install-dvi \
542 install-dvi-am install-exec install-exec-am install-html \
543 install-html-am install-info install-info-am install-man \
544 install-pdf install-pdf-am install-ps install-ps-am \
545 install-strip installcheck installcheck-am installdirs \
546 maintainer-clean maintainer-clean-generic \
547 maintainer-clean-local mostlyclean mostlyclean-generic \
548 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
552 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
553 @ENABLE_GTK_DOC_FALSE@all-local:
555 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
557 $(REPORT_FILES): sgml-build.stamp
562 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
563 echo 'gtk-doc: Preparing build'; \
564 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
565 if test "x$$files" != "x" ; then \
566 for file in $$files ; do \
567 test -f $(abs_srcdir)/$$file && \
568 cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
571 test -f $(abs_srcdir)/tmpl && \
572 cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
574 @touch setup-build.stamp
576 setup.stamp: setup-build.stamp
581 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
582 @echo 'gtk-doc: Scanning header files'
584 for i in $(DOC_SOURCE_DIR) ; do \
585 _source_dir="$${_source_dir} --source-dir=$$i" ; \
587 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
588 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
589 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
591 for i in $(SCANOBJ_FILES) ; do \
592 test -f $$i || touch $$i ; \
595 @touch scan-build.stamp
597 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
602 tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
603 @echo 'gtk-doc: Rebuilding template files'
604 @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
605 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
606 if test -w $(abs_srcdir) ; then \
607 cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
610 @touch tmpl-build.stamp
612 tmpl.stamp: tmpl-build.stamp
615 $(srcdir)/tmpl/*.sgml:
620 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
621 @echo 'gtk-doc: Building XML'
622 @-chmod -R u+w $(srcdir)
624 for i in $(DOC_SOURCE_DIR) ; do \
625 _source_dir="$${_source_dir} --source-dir=$$i" ; \
627 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)
628 @touch sgml-build.stamp
630 sgml.stamp: sgml-build.stamp
635 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
636 @echo 'gtk-doc: Building HTML'
639 @mkhtml_options=""; \
640 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
641 if test "$(?)" = "0"; then \
642 mkhtml_options=--path="$(abs_srcdir)"; \
644 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
645 -@test "x$(HTML_IMAGES)" = "x" || \
646 for file in $(HTML_IMAGES) ; do \
647 if test -f $(abs_srcdir)/$$file ; then \
648 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
650 if test -f $(abs_builddir)/$$file ; then \
651 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
654 @echo 'gtk-doc: Fixing cross-references'
655 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
656 @touch html-build.stamp
660 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
661 @echo 'gtk-doc: Building PDF'
662 @rm -rf $(DOC_MODULE).pdf
664 if test "x$(HTML_IMAGES)" != "x"; then \
665 for img in $(HTML_IMAGES); do \
666 part=`dirname $$img`; \
667 echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
668 if test $$? != 0; then \
669 mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
673 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
674 @touch pdf-build.stamp
683 rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
684 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
685 if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
686 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
690 maintainer-clean-local: clean
694 @installfiles=`echo $(srcdir)/html/*`; \
695 if test "$$installfiles" = '$(srcdir)/html/*'; \
696 then echo '-- Nothing to install' ; \
698 if test -n "$(DOC_MODULE_VERSION)"; then \
699 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
701 installdir="$(DESTDIR)$(TARGET_DIR)"; \
703 $(mkinstalldirs) $${installdir} ; \
704 for i in $$installfiles; do \
705 echo '-- Installing '$$i ; \
706 $(INSTALL_DATA) $$i $${installdir}; \
708 if test -n "$(DOC_MODULE_VERSION)"; then \
709 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
710 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
711 mv -f $${installdir}/$(DOC_MODULE).devhelp \
712 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
714 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
718 @if test -n "$(DOC_MODULE_VERSION)"; then \
719 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
721 installdir="$(DESTDIR)$(TARGET_DIR)"; \
723 rm -rf $${installdir}
726 # Require gtk-doc when making dist
728 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
729 @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
730 @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
731 @ENABLE_GTK_DOC_FALSE@ @false
733 dist-hook: dist-check-gtkdoc dist-hook-local
734 mkdir $(distdir)/tmpl
735 mkdir $(distdir)/html
736 -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
737 cp $(builddir)/html/* $(distdir)/html
738 -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
739 -cp $(build)/$(DOC_MODULE).types $(distdir)/
740 -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
741 cd $(distdir) && rm -f $(DISTCLEANFILES)
742 $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
744 .PHONY : dist-hook-local docs
746 # Tell versions [3.59,3.63) of GNU make to not export all variables.
747 # Otherwise a system limit (for SysV at least) may be exceeded.