1 # Makefile.in generated by automake 1.14.1 from Makefile.am.
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # -*- mode: makefile -*-
19 ####################################
20 # Everything below here is generic #
21 ####################################
23 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
24 am__make_running_with_option = \
25 case $${target_option-} in \
27 *) echo "am__make_running_with_option: internal error: invalid" \
28 "target option '$${target_option-}' specified" >&2; \
32 sane_makeflags=$$MAKEFLAGS; \
33 if $(am__is_gnu_make); then \
34 sane_makeflags=$$MFLAGS; \
39 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
40 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
46 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
48 for flg in $$sane_makeflags; do \
49 test $$skip_next = yes && { skip_next=no; continue; }; \
52 -*I) strip_trailopt 'I'; skip_next=yes;; \
53 -*I?*) strip_trailopt 'I';; \
54 -*O) strip_trailopt 'O'; skip_next=yes;; \
55 -*O?*) strip_trailopt 'O';; \
56 -*l) strip_trailopt 'l'; skip_next=yes;; \
57 -*l?*) strip_trailopt 'l';; \
58 -[dEDm]) skip_next=yes;; \
59 -[JT]) skip_next=yes;; \
62 *$$target_option*) has_opt=yes; break;; \
66 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
67 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
68 pkgdatadir = $(datadir)/@PACKAGE@
69 pkgincludedir = $(includedir)/@PACKAGE@
70 pkglibdir = $(libdir)/@PACKAGE@
71 pkglibexecdir = $(libexecdir)/@PACKAGE@
72 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
73 install_sh_DATA = $(install_sh) -c -m 644
74 install_sh_PROGRAM = $(install_sh) -c
75 install_sh_SCRIPT = $(install_sh) -c
76 INSTALL_HEADER = $(INSTALL_DATA)
77 transform = $(program_transform_name)
84 build_triplet = @build@
86 DIST_COMMON = $(top_srcdir)/gtk-doc.make $(srcdir)/Makefile.in \
87 $(srcdir)/Makefile.am $(top_srcdir)/build-aux/test-driver
89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90 am__aclocal_m4_deps = $(top_srcdir)/m4/gtk-doc.m4 \
91 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
92 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
93 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac
94 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
96 mkinstalldirs = $(install_sh) -d
97 CONFIG_HEADER = $(top_builddir)/config.h
99 CONFIG_CLEAN_VPATH_FILES =
100 AM_V_P = $(am__v_P_@AM_V@)
101 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
104 AM_V_GEN = $(am__v_GEN_@AM_V@)
105 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
106 am__v_GEN_0 = @echo " GEN " $@;
108 AM_V_at = $(am__v_at_@AM_V@)
109 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
114 am__can_run_installinfo = \
115 case $$AM_UPDATE_INFO_DIR in \
117 *) (install-info --version) >/dev/null 2>&1;; \
119 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
120 am__tty_colors_dummy = \
121 mgn= red= grn= lgn= blu= brg= std=; \
124 $(am__tty_colors_dummy); \
125 if test "X$(AM_COLOR_TESTS)" = Xno; then \
126 am__color_tests=no; \
127 elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
128 am__color_tests=yes; \
129 elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
130 am__color_tests=yes; \
132 if test $$am__color_tests = yes; then \
142 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
143 am__vpath_adj = case $$p in \
144 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
147 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
149 am__nobase_strip_setup = \
150 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
152 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
153 am__nobase_list = $(am__nobase_strip_setup); \
154 for p in $$list; do echo "$$p $$p"; done | \
155 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
156 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
157 if (++n[$$2] == $(am__install_max)) \
158 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
159 END { for (dir in files) print dir, files[dir] }'
161 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
162 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
163 am__uninstall_files_from_dir = { \
165 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
166 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
167 $(am__cd) "$$dir" && rm -f $$files; }; \
169 am__recheck_rx = ^[ ]*:recheck:[ ]*
170 am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
171 am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
172 # A command that, given a newline-separated list of test names on the
173 # standard input, print the name of the tests that are to be re-run
174 # upon "make recheck".
175 am__list_recheck_tests = $(AWK) '{ \
177 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
181 if ((getline line2 < ($$0 ".log")) < 0) \
185 else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
190 else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
197 close ($$0 ".trs"); \
198 close ($$0 ".log"); \
200 # A command that, given a newline-separated list of test names on the
201 # standard input, create the global log from their .trs and .log files.
202 am__create_global_log = $(AWK) ' \
203 function fatal(msg) \
205 print "fatal: making $@: " msg | "cat >&2"; \
208 function rst_section(header) \
211 len = length(header); \
212 for (i = 1; i <= len; i = i + 1) \
217 copy_in_global_log = 1; \
218 global_test_result = "RUN"; \
219 while ((rc = (getline line < ($$0 ".trs"))) != 0) \
222 fatal("failed to read from " $$0 ".trs"); \
223 if (line ~ /$(am__global_test_result_rx)/) \
225 sub("$(am__global_test_result_rx)", "", line); \
226 sub("[ ]*$$", "", line); \
227 global_test_result = line; \
229 else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
230 copy_in_global_log = 0; \
232 if (copy_in_global_log) \
234 rst_section(global_test_result ": " $$0); \
235 while ((rc = (getline line < ($$0 ".log"))) != 0) \
238 fatal("failed to read from " $$0 ".log"); \
243 close ($$0 ".trs"); \
244 close ($$0 ".log"); \
246 # Restructured Text title.
247 am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
248 # Solaris 10 'make', and several other traditional 'make' implementations,
249 # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
250 # by disabling -e (using the XSI extension "set +e") if it's set.
251 am__sh_e_setup = case $$- in *e*) set +e;; esac
252 # Default flags passed to test drivers.
253 am__common_driver_flags = \
254 --color-tests "$$am__color_tests" \
255 --enable-hard-errors "$$am__enable_hard_errors" \
256 --expect-failure "$$am__expect_failure"
257 # To be inserted before the command running the test. Creates the
258 # directory for the log if needed. Stores in $dir the directory
259 # containing $f, in $tst the test, in $log the log. Executes the
260 # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
261 # passes TESTS_ENVIRONMENT. Set up options for the wrapper that
262 # will run the test scripts (or their associated LOG_COMPILER, if
266 $(am__vpath_adj_setup) $(am__vpath_adj) \
268 srcdir=$(srcdir); export srcdir; \
270 */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
273 test "x$$am__odir" = x"." || test -d "$$am__odir" \
274 || $(MKDIR_P) "$$am__odir" || exit $$?; \
275 if test -f "./$$f"; then dir=./; \
276 elif test -f "$$f"; then dir=; \
277 else dir="$(srcdir)/"; fi; \
278 tst=$$dir$$f; log='$@'; \
279 if test -n '$(DISABLE_HARD_ERRORS)'; then \
280 am__enable_hard_errors=no; \
282 am__enable_hard_errors=yes; \
284 case " $(XFAIL_TESTS) " in \
285 *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
286 am__expect_failure=yes;; \
288 am__expect_failure=no;; \
290 $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
291 # A shell command to get the names of the tests scripts with any registered
292 # extension removed (i.e., equivalently, the names of the test logs, with
293 # the '.log' extension removed). The result is saved in the shell variable
294 # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
295 # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
296 # since that might cause problem with VPATH rewrites for suffix-less tests.
297 # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
298 am__set_TESTS_bases = \
299 bases='$(TEST_LOGS)'; \
300 bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
302 RECHECK_LOGS = $(TEST_LOGS)
303 AM_RECURSIVE_TARGETS = check recheck
304 TEST_SUITE_LOG = test-suite.log
305 TEST_EXTENSIONS = @EXEEXT@ .test
306 am__test_logs1 = $(TESTS:=.log)
307 am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
308 TEST_LOGS = $(am__test_logs2:.test.log=.log)
309 TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver
310 TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
317 *) b=`echo '$@' | sed 's/\.log$$//'`; \
322 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
325 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
327 AUTOCONF = @AUTOCONF@
328 AUTOHEADER = @AUTOHEADER@
329 AUTOMAKE = @AUTOMAKE@
332 CCDEPMODE = @CCDEPMODE@
334 CHECK_CFLAGS = @CHECK_CFLAGS@
335 CHECK_LIBS = @CHECK_LIBS@
337 CPPFLAGS = @CPPFLAGS@
338 CYGPATH_W = @CYGPATH_W@
342 DSYMUTIL = @DSYMUTIL@
349 EXTENSIONSDIR = @EXTENSIONSDIR@
352 GSIGNON_CFLAGS = @GSIGNON_CFLAGS@
353 GSIGNON_LIBS = @GSIGNON_LIBS@
354 GTKDOC_CHECK = @GTKDOC_CHECK@
355 GTKDOC_CHECK_PATH = @GTKDOC_CHECK_PATH@
356 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
357 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
358 GTKDOC_MKPDF = @GTKDOC_MKPDF@
359 GTKDOC_REBASE = @GTKDOC_REBASE@
360 HTML_DIR = @HTML_DIR@
362 INSTALL_DATA = @INSTALL_DATA@
363 INSTALL_PROGRAM = @INSTALL_PROGRAM@
364 INSTALL_SCRIPT = @INSTALL_SCRIPT@
365 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
370 LIBSOUP_CFLAGS = @LIBSOUP_CFLAGS@
371 LIBSOUP_LIBS = @LIBSOUP_LIBS@
375 LTLIBOBJS = @LTLIBOBJS@
376 MAKEINFO = @MAKEINFO@
377 MANIFEST_TOOL = @MANIFEST_TOOL@
386 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
387 PACKAGE_NAME = @PACKAGE_NAME@
388 PACKAGE_STRING = @PACKAGE_STRING@
389 PACKAGE_TARNAME = @PACKAGE_TARNAME@
390 PACKAGE_URL = @PACKAGE_URL@
391 PACKAGE_VERSION = @PACKAGE_VERSION@
392 PATH_SEPARATOR = @PATH_SEPARATOR@
393 PKG_CONFIG = @PKG_CONFIG@
394 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
395 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
396 PLUGINSDIR = @PLUGINSDIR@
399 SET_MAKE = @SET_MAKE@
403 abs_builddir = @abs_builddir@
404 abs_srcdir = @abs_srcdir@
405 abs_top_builddir = @abs_top_builddir@
406 abs_top_srcdir = @abs_top_srcdir@
407 ac_ct_AR = @ac_ct_AR@
408 ac_ct_CC = @ac_ct_CC@
409 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
410 am__include = @am__include@
411 am__leading_dot = @am__leading_dot@
412 am__quote = @am__quote@
414 am__untar = @am__untar@
417 build_alias = @build_alias@
418 build_cpu = @build_cpu@
419 build_os = @build_os@
420 build_vendor = @build_vendor@
421 builddir = @builddir@
423 datarootdir = @datarootdir@
426 exec_prefix = @exec_prefix@
428 host_alias = @host_alias@
429 host_cpu = @host_cpu@
431 host_vendor = @host_vendor@
433 includedir = @includedir@
435 install_sh = @install_sh@
437 libexecdir = @libexecdir@
438 localedir = @localedir@
439 localstatedir = @localstatedir@
442 oldincludedir = @oldincludedir@
445 program_transform_name = @program_transform_name@
448 sharedstatedir = @sharedstatedir@
450 sysconfdir = @sysconfdir@
451 target_alias = @target_alias@
452 top_build_prefix = @top_build_prefix@
453 top_builddir = @top_builddir@
454 top_srcdir = @top_srcdir@
456 # We require automake 1.6 at least.
457 AUTOMAKE_OPTIONS = 1.6
459 # This is a blank Makefile.am for using gtk-doc.
460 # Copy this to your project's API docs directory and modify the variables to
461 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
462 # of using the various options.
464 # The name of the module, e.g. 'glib'.
465 DOC_MODULE = gsignond-plugin-oauth
467 # Uncomment for versioned docs and specify the version of the module, e.g. '2'.
468 #DOC_MODULE_VERSION=2
470 # The top-level SGML file. You can change this if you want to.
471 DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
473 # Directories containing the source code.
474 # gtk-doc will search all .c and .h files beneath these paths
475 # for inline comments documenting functions and macros.
476 # e.g. DOC_SOURCE_DIR=$(top_srcdir)/gtk $(top_srcdir)/gdk
477 DOC_SOURCE_DIR = $(top_srcdir)/src
479 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
482 # Extra options to supply to gtkdoc-scan.
483 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
486 # Extra options to supply to gtkdoc-mkdb.
487 # e.g. MKDB_OPTIONS=--xml-mode --output-format=xml
488 MKDB_OPTIONS = --xml-mode --output-format=xml
490 # Extra options to supply to gtkdoc-mktmpl
491 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
494 # Extra options to supply to gtkdoc-mkhtml
497 # Extra options to supply to gtkdoc-fixref. Not normally needed.
498 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
499 FIXXREF_OPTIONS = --extra-dir=../../accounts-sso.gsignond/docs/html
501 # Used for dependencies. The docs will be rebuilt if any of these change.
502 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
503 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
507 # Extra header to include when scanning, which are not under DOC_SOURCE_DIR
508 # e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
511 # Header files or dirs to ignore when scanning. Use base file/dir names
512 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h private_code
513 IGNORE_HFILES = gsignond-oauth-plugin-oauth1.h \
514 gsignond-oauth-plugin-oauth2.h \
515 gsignond-oauth-plugin-utils.h
518 # Images to copy into HTML directory.
519 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
522 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
523 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
526 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
527 # These files must be listed here *and* in content_files
528 # e.g. expand_content_files=running.sgml
529 expand_content_files =
531 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
532 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
533 # signals and properties.
534 # e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
535 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
541 $(top_builddir)/src/liboauth.la \
545 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
546 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(GTKDOC_DEPS_CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
547 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
548 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(GTKDOC_DEPS_LIBS) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
549 @GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
550 @GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
552 # We set GPATH here; this gives us semantics for GNU make
553 # which are more like other make's VPATH, when it comes to
554 # whether a source that is a target of one rule is then
555 # searched for in VPATH/GPATH.
558 TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
561 $(DOC_MAIN_SGML_FILE) \
562 $(DOC_MODULE)-sections.txt \
563 $(DOC_MODULE)-overrides.txt
566 # This includes the standard gtk-doc make rules, copied by gtkdocize.
568 # Other files to distribute
569 # e.g. EXTRA_DIST += version.xml.in
570 EXTRA_DIST = $(HTML_IMAGES) $(SETUP_FILES)
571 DOC_STAMPS = setup-build.stamp scan-build.stamp sgml-build.stamp \
572 html-build.stamp pdf-build.stamp \
573 sgml.stamp html.stamp pdf.stamp
577 $(DOC_MODULE).hierarchy \
578 $(DOC_MODULE).interfaces \
579 $(DOC_MODULE).prerequisites \
580 $(DOC_MODULE).signals
583 $(DOC_MODULE)-undocumented.txt \
584 $(DOC_MODULE)-undeclared.txt \
585 $(DOC_MODULE)-unused.txt
587 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) \
588 gtkdoc-check.test $(DOC_MODULE)-*.txt $(DOC_MODULE).types
589 @GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
590 @GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
591 @GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
592 @GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
595 GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V))
596 GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY))
597 GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build";
600 GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V))
601 GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY))
602 GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files";
603 GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V))
604 GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY))
605 GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects";
608 GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V))
609 GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY))
610 GTK_DOC_V_XML_0 = @echo " DOC Building XML";
613 GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V))
614 GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY))
615 GTK_DOC_V_HTML_0 = @echo " DOC Building HTML";
616 GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V))
617 GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY))
618 GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references";
621 GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V))
622 GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY))
623 GTK_DOC_V_PDF_0 = @echo " DOC Building PDF";
625 # Files not to distribute
626 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
627 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
630 # Comment this out if you want 'make check' to test you doc status
631 # and run some sanity checks
632 @ENABLE_GTK_DOC_TRUE@TESTS_ENVIRONMENT = \
633 @ENABLE_GTK_DOC_TRUE@ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
634 @ENABLE_GTK_DOC_TRUE@ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir)
636 @ENABLE_GTK_DOC_TRUE@TESTS = $(GTKDOC_CHECK)
640 .SUFFIXES: .log .test .test$(EXEEXT) .trs
641 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
643 case '$(am__configure_deps)' in \
645 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
646 && { if test -f $@; then exit 0; else break; fi; }; \
650 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \
651 $(am__cd) $(top_srcdir) && \
652 $(AUTOMAKE) --gnu docs/Makefile
654 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
657 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
659 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
660 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
662 $(top_srcdir)/gtk-doc.make:
664 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
665 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
667 $(top_srcdir)/configure: $(am__configure_deps)
668 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
669 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
670 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
671 $(am__aclocal_m4_deps):
685 # Recover from deleted '.trs' file; this should ensure that
686 # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
687 # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
688 # to avoid problems with "make -n".
691 $(MAKE) $(AM_MAKEFLAGS) $<
693 # Leading 'am--fnord' is there to ensure the list of targets does not
694 # expand to empty, as could happen e.g. with make check TESTS=''.
695 am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
699 $(TEST_SUITE_LOG): $(TEST_LOGS)
700 @$(am__set_TESTS_bases); \
701 am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
702 redo_bases=`for i in $$bases; do \
703 am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
705 if test -n "$$redo_bases"; then \
706 redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
707 redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
708 if $(am__make_dryrun); then :; else \
709 rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
712 if test -n "$$am__remaking_logs"; then \
713 echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
714 "recursion detected" >&2; \
716 am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
718 if $(am__make_dryrun); then :; else \
720 errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
721 for i in $$redo_bases; do \
722 test -f $$i.trs && test -r $$i.trs \
723 || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
724 test -f $$i.log && test -r $$i.log \
725 || { echo "$$errmsg $$i.log" >&2; st=1; }; \
727 test $$st -eq 0 || exit 1; \
729 @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
731 results=`for b in $$bases; do echo $$b.trs; done`; \
732 test -n "$$results" || results=/dev/null; \
733 all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
734 pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
735 fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
736 skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
737 xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
738 xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
739 error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
740 if test `expr $$fail + $$xpass + $$error` -eq 0; then \
745 br='==================='; br=$$br$$br$$br$$br; \
748 if test x"$$1" = x"--maybe-color"; then \
749 maybe_colorize=yes; \
750 elif test x"$$1" = x"--no-color"; then \
753 echo "$@: invalid 'result_count' usage" >&2; exit 4; \
756 desc=$$1 count=$$2; \
757 if test $$maybe_colorize = yes && test $$count -gt 0; then \
758 color_start=$$3 color_end=$$std; \
760 color_start= color_end=; \
762 echo "$${color_start}# $$desc $$count$${color_end}"; \
764 create_testsuite_report () \
766 result_count $$1 "TOTAL:" $$all "$$brg"; \
767 result_count $$1 "PASS: " $$pass "$$grn"; \
768 result_count $$1 "SKIP: " $$skip "$$blu"; \
769 result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
770 result_count $$1 "FAIL: " $$fail "$$red"; \
771 result_count $$1 "XPASS:" $$xpass "$$red"; \
772 result_count $$1 "ERROR:" $$error "$$mgn"; \
775 echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
777 create_testsuite_report --no-color; \
779 echo ".. contents:: :depth: 2"; \
781 for b in $$bases; do echo $$b; done \
782 | $(am__create_global_log); \
783 } >$(TEST_SUITE_LOG).tmp || exit 1; \
784 mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
789 test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
791 echo "$${col}$$br$${std}"; \
792 echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
793 echo "$${col}$$br$${std}"; \
794 create_testsuite_report --maybe-color; \
795 echo "$$col$$br$$std"; \
796 if $$success; then :; else \
797 echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
798 if test -n "$(PACKAGE_BUGREPORT)"; then \
799 echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
801 echo "$$col$$br$$std"; \
806 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
807 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
808 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
809 @set +e; $(am__set_TESTS_bases); \
810 log_list=`for i in $$bases; do echo $$i.log; done`; \
811 trs_list=`for i in $$bases; do echo $$i.trs; done`; \
812 log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
813 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
816 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
817 @set +e; $(am__set_TESTS_bases); \
818 bases=`for i in $$bases; do echo $$i; done \
819 | $(am__list_recheck_tests)` || exit 1; \
820 log_list=`for i in $$bases; do echo $$i.log; done`; \
821 log_list=`echo $$log_list`; \
822 $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
823 am__force_recheck=am--force-recheck \
824 TEST_LOGS="$$log_list"; \
829 $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
830 --log-file $$b.log --trs-file $$b.trs \
831 $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
832 "$$tst" $(AM_TESTS_FD_REDIRECT)
833 @am__EXEEXT_TRUE@.test$(EXEEXT).log:
834 @am__EXEEXT_TRUE@ @p='$<'; \
835 @am__EXEEXT_TRUE@ $(am__set_b); \
836 @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
837 @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
838 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
839 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
841 distdir: $(DISTFILES)
842 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
843 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
844 list='$(DISTFILES)'; \
845 dist_files=`for file in $$list; do echo $$file; done | \
846 sed -e "s|^$$srcdirstrip/||;t" \
847 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
848 case $$dist_files in \
849 */*) $(MKDIR_P) `echo "$$dist_files" | \
850 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
853 for file in $$dist_files; do \
854 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
855 if test -d $$d/$$file; then \
856 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
857 if test -d "$(distdir)/$$file"; then \
858 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
860 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
861 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
862 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
864 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
866 test -f "$(distdir)/$$file" \
867 || cp -p $$d/$$file "$(distdir)/$$file" \
871 $(MAKE) $(AM_MAKEFLAGS) \
872 top_distdir="$(top_distdir)" distdir="$(distdir)" \
875 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
877 @ENABLE_GTK_DOC_FALSE@all-local:
878 all-am: Makefile all-local
881 install-exec: install-exec-am
882 install-data: install-data-am
883 uninstall: uninstall-am
886 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
888 installcheck: installcheck-am
890 if test -z '$(STRIP)'; then \
891 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
892 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
895 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
896 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
897 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
900 -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
901 -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
902 -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
905 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
908 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
909 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
911 maintainer-clean-generic:
912 @echo "This command is intended for maintainers to use"
913 @echo "it deletes files that may require special tools to rebuild."
916 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
918 distclean: distclean-am
920 distclean-am: clean-am distclean-generic distclean-local
934 install-data-am: install-data-local
936 install-dvi: install-dvi-am
942 install-html: install-html-am
946 install-info: install-info-am
952 install-pdf: install-pdf-am
956 install-ps: install-ps-am
962 maintainer-clean: maintainer-clean-am
964 maintainer-clean-am: distclean-am maintainer-clean-generic \
965 maintainer-clean-local
967 mostlyclean: mostlyclean-am
969 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
979 uninstall-am: uninstall-local
981 .MAKE: check-am install-am install-strip
983 .PHONY: all all-am all-local check check-TESTS check-am clean \
984 clean-generic clean-libtool clean-local cscopelist-am ctags-am \
985 dist-hook distclean distclean-generic distclean-libtool \
986 distclean-local distdir dvi dvi-am html html-am info info-am \
987 install install-am install-data install-data-am \
988 install-data-local install-dvi install-dvi-am install-exec \
989 install-exec-am install-html install-html-am install-info \
990 install-info-am install-man install-pdf install-pdf-am \
991 install-ps install-ps-am install-strip installcheck \
992 installcheck-am installdirs maintainer-clean \
993 maintainer-clean-generic maintainer-clean-local mostlyclean \
994 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
995 recheck tags-am uninstall uninstall-am uninstall-local
998 gtkdoc-check.test: Makefile
999 $(AM_V_GEN)echo "#!/bin/sh -e" > $@; \
1000 echo "$(GTKDOC_CHECK_PATH) || exit 1" >> $@; \
1003 all-gtk-doc: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
1006 @ENABLE_GTK_DOC_TRUE@all-local: all-gtk-doc
1008 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
1010 $(REPORT_FILES): sgml-build.stamp
1013 -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1014 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
1015 if test "x$$files" != "x" ; then \
1016 for file in $$files ; do \
1017 destdir=`dirname $(abs_builddir)/$$file`; \
1018 test -d "$$destdir" || mkdir -p "$$destdir"; \
1019 test -f $(abs_srcdir)/$$file && \
1020 cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
1024 $(AM_V_at)touch setup-build.stamp
1026 scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB)
1027 $(GTK_DOC_V_SCAN)_source_dir='' ; \
1028 for i in $(DOC_SOURCE_DIR) ; do \
1029 _source_dir="$${_source_dir} --source-dir=$$i" ; \
1031 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
1032 $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
1033 scanobj_options=""; \
1034 gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1035 if test "$(?)" = "0"; then \
1036 if test "x$(V)" = "x1"; then \
1037 scanobj_options="--verbose"; \
1040 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \
1041 gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \
1043 for i in $(SCANOBJ_FILES) ; do \
1044 test -f $$i || touch $$i ; \
1047 $(AM_V_at)touch scan-build.stamp
1049 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
1052 sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files)
1053 $(GTK_DOC_V_XML)_source_dir='' ; \
1054 for i in $(DOC_SOURCE_DIR) ; do \
1055 _source_dir="$${_source_dir} --source-dir=$$i" ; \
1057 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)
1058 $(AM_V_at)touch sgml-build.stamp
1060 sgml.stamp: sgml-build.stamp
1063 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
1064 $(GTK_DOC_V_HTML)rm -rf html && mkdir html && \
1065 mkhtml_options=""; \
1066 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1067 if test "$(?)" = "0"; then \
1068 if test "x$(V)" = "x1"; then \
1069 mkhtml_options="$$mkhtml_options --verbose"; \
1072 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
1073 if test "$(?)" = "0"; then \
1074 mkhtml_options="$$mkhtml_options --path=\"$(abs_srcdir)\""; \
1076 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
1077 -@test "x$(HTML_IMAGES)" = "x" || \
1078 for file in $(HTML_IMAGES) ; do \
1079 if test -f $(abs_srcdir)/$$file ; then \
1080 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
1082 if test -f $(abs_builddir)/$$file ; then \
1083 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
1086 $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
1087 $(AM_V_at)touch html-build.stamp
1089 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
1090 $(GTK_DOC_V_PDF)rm -f $(DOC_MODULE).pdf && \
1092 gtkdoc-mkpdf 2>&1 --help | grep >/dev/null "\-\-verbose"; \
1093 if test "$(?)" = "0"; then \
1094 if test "x$(V)" = "x1"; then \
1095 mkpdf_options="$$mkpdf_options --verbose"; \
1098 if test "x$(HTML_IMAGES)" != "x"; then \
1099 for img in $(HTML_IMAGES); do \
1100 part=`dirname $$img`; \
1101 echo $$mkpdf_options | grep >/dev/null "\-\-imgdir=$$part "; \
1102 if test $$? != 0; then \
1103 mkpdf_options="$$mkpdf_options --imgdir=$$part"; \
1107 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
1108 $(AM_V_at)touch pdf-build.stamp
1115 @if echo $(SCAN_OPTIONS) | grep -q "\-\-rebuild-types" ; then \
1116 rm -f $(DOC_MODULE).types; \
1120 @rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
1121 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
1122 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
1123 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
1126 maintainer-clean-local:
1130 @installfiles=`echo $(builddir)/html/*`; \
1131 if test "$$installfiles" = '$(builddir)/html/*'; \
1132 then echo 1>&2 'Nothing to install' ; \
1134 if test -n "$(DOC_MODULE_VERSION)"; then \
1135 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
1137 installdir="$(DESTDIR)$(TARGET_DIR)"; \
1139 $(mkinstalldirs) $${installdir} ; \
1140 for i in $$installfiles; do \
1141 echo ' $(INSTALL_DATA) '$$i ; \
1142 $(INSTALL_DATA) $$i $${installdir}; \
1144 if test -n "$(DOC_MODULE_VERSION)"; then \
1145 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
1146 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
1148 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
1152 @if test -n "$(DOC_MODULE_VERSION)"; then \
1153 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
1155 installdir="$(DESTDIR)$(TARGET_DIR)"; \
1157 rm -rf $${installdir}
1160 # Require gtk-doc when making dist
1162 @HAVE_GTK_DOC_TRUE@dist-check-gtkdoc: docs
1163 @HAVE_GTK_DOC_FALSE@dist-check-gtkdoc:
1164 @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc is needed to run 'make dist'. ***"
1165 @HAVE_GTK_DOC_FALSE@ @echo "*** gtk-doc was not found when 'configure' ran. ***"
1166 @HAVE_GTK_DOC_FALSE@ @echo "*** please install gtk-doc and rerun 'configure'. ***"
1167 @HAVE_GTK_DOC_FALSE@ @false
1169 dist-hook: dist-check-gtkdoc all-gtk-doc dist-hook-local
1170 @mkdir $(distdir)/html
1171 @cp ./html/* $(distdir)/html
1172 @-cp ./$(DOC_MODULE).pdf $(distdir)/
1173 @-cp ./$(DOC_MODULE).types $(distdir)/
1174 @-cp ./$(DOC_MODULE)-sections.txt $(distdir)/
1175 @cd $(distdir) && rm -f $(DISTCLEANFILES)
1176 @$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
1178 .PHONY : dist-hook-local docs
1180 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1181 # Otherwise a system limit (for SysV at least) may be exceeded.