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
19
# WARNING: this is not gtk-doc.make file from gtk-doc project. This
20
# file has been modified to match with util-linux requirements:
22
# * install files to $datadir
23
# * don't maintain generated files in git repository
24
# * don't distribute the final html files
25
# * don't require --enable-gtk-doc for "make dist"
26
# * support out-of-tree build ($srcdir != $builddir)
31
####################################
32
# Everything below here is generic #
33
####################################
36
pkgdatadir = $(datadir)/@PACKAGE@
37
pkgincludedir = $(includedir)/@PACKAGE@
38
pkglibdir = $(libdir)/@PACKAGE@
39
pkglibexecdir = $(libexecdir)/@PACKAGE@
40
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
41
install_sh_DATA = $(install_sh) -c -m 644
42
install_sh_PROGRAM = $(install_sh) -c
43
install_sh_SCRIPT = $(install_sh) -c
44
INSTALL_HEADER = $(INSTALL_DATA)
45
transform = $(program_transform_name)
52
build_triplet = @build@
54
DIST_COMMON = $(dist_noinst_DATA) $(srcdir)/Makefile.am \
55
$(srcdir)/Makefile.in $(srcdir)/version.xml.in \
56
$(top_srcdir)/config/gtk-doc.make \
57
$(top_srcdir)/config/include-Makefile.am
58
subdir = shlibs/blkid/docs
59
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60
am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \
61
$(top_srcdir)/m4/gtk-doc.m4 $(top_srcdir)/m4/iconv.m4 \
62
$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
63
$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
64
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
65
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
66
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
67
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tls.m4 \
68
$(top_srcdir)/configure.ac
69
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
71
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
72
CONFIG_HEADER = $(top_builddir)/config.h
73
CONFIG_CLEAN_FILES = version.xml
74
CONFIG_CLEAN_VPATH_FILES =
75
AM_V_GEN = $(am__v_GEN_$(V))
76
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
77
am__v_GEN_0 = @echo " GEN " $@;
78
AM_V_at = $(am__v_at_$(V))
79
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
83
DATA = $(dist_noinst_DATA)
84
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
87
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
90
AUTOHEADER = @AUTOHEADER@
93
BLKID_CFLAGS = @BLKID_CFLAGS@
94
BLKID_LIBS = @BLKID_LIBS@
95
BLKID_LIBS_STATIC = @BLKID_LIBS_STATIC@
97
CCDEPMODE = @CCDEPMODE@
100
CPPFLAGS = @CPPFLAGS@
101
CYGPATH_W = @CYGPATH_W@
104
DSYMUTIL = @DSYMUTIL@
114
GTKDOC_CHECK = @GTKDOC_CHECK@
115
HTML_DIR = @HTML_DIR@
117
INSTALL_DATA = @INSTALL_DATA@
118
INSTALL_PROGRAM = @INSTALL_PROGRAM@
119
INSTALL_SCRIPT = @INSTALL_SCRIPT@
120
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
121
INTLLIBS = @INTLLIBS@
124
LIBBLKID_DATE = @LIBBLKID_DATE@
125
LIBBLKID_VERSION = @LIBBLKID_VERSION@
126
LIBBLKID_VERSION_INFO = @LIBBLKID_VERSION_INFO@
127
LIBICONV = @LIBICONV@
129
LIBMOUNT_VERSION = @LIBMOUNT_VERSION@
130
LIBMOUNT_VERSION_INFO = @LIBMOUNT_VERSION_INFO@
134
LIBUUID_VERSION = @LIBUUID_VERSION@
135
LIBUUID_VERSION_INFO = @LIBUUID_VERSION_INFO@
138
LTLIBICONV = @LTLIBICONV@
139
LTLIBINTL = @LTLIBINTL@
140
LTLIBOBJS = @LTLIBOBJS@
141
MAKEINFO = @MAKEINFO@
143
MKINSTALLDIRS = @MKINSTALLDIRS@
145
MSGMERGE = @MSGMERGE@
146
NCURSES_LIBS = @NCURSES_LIBS@
154
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
155
PACKAGE_NAME = @PACKAGE_NAME@
156
PACKAGE_STRING = @PACKAGE_STRING@
157
PACKAGE_TARNAME = @PACKAGE_TARNAME@
158
PACKAGE_URL = @PACKAGE_URL@
159
PACKAGE_VERSION = @PACKAGE_VERSION@
160
PATH_SEPARATOR = @PATH_SEPARATOR@
162
PKG_CONFIG = @PKG_CONFIG@
163
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
164
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
168
SELINUX_LIBS = @SELINUX_LIBS@
169
SELINUX_LIBS_STATIC = @SELINUX_LIBS_STATIC@
170
SET_MAKE = @SET_MAKE@
172
SOCKET_LIBS = @SOCKET_LIBS@
174
SUID_CFLAGS = @SUID_CFLAGS@
175
SUID_LDFLAGS = @SUID_LDFLAGS@
177
UUID_CFLAGS = @UUID_CFLAGS@
178
UUID_LIBS = @UUID_LIBS@
180
XGETTEXT = @XGETTEXT@
181
XSLTPROC = @XSLTPROC@
182
abs_builddir = @abs_builddir@
183
abs_srcdir = @abs_srcdir@
184
abs_top_builddir = @abs_top_builddir@
185
abs_top_srcdir = @abs_top_srcdir@
186
ac_ct_CC = @ac_ct_CC@
187
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
188
am__include = @am__include@
189
am__leading_dot = @am__leading_dot@
190
am__quote = @am__quote@
192
am__untar = @am__untar@
195
build_alias = @build_alias@
196
build_cpu = @build_cpu@
197
build_os = @build_os@
198
build_vendor = @build_vendor@
199
builddir = @builddir@
201
datarootdir = @datarootdir@
204
exec_prefix = @exec_prefix@
206
host_alias = @host_alias@
207
host_cpu = @host_cpu@
209
host_vendor = @host_vendor@
211
includedir = @includedir@
213
install_sh = @install_sh@
215
libdirname = @libdirname@
216
libexecdir = @libexecdir@
217
localedir = @localedir@
218
localstatedir = @localstatedir@
221
oldincludedir = @oldincludedir@
224
program_transform_name = @program_transform_name@
227
sharedstatedir = @sharedstatedir@
229
sysconfdir = @sysconfdir@
230
target_alias = @target_alias@
231
top_build_prefix = @top_build_prefix@
232
top_builddir = @top_builddir@
233
top_srcdir = @top_srcdir@
234
usrbin_execdir = @usrbin_execdir@
235
usrlib_execdir = @usrlib_execdir@
236
usrsbin_execdir = @usrsbin_execdir@
237
AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \
238
-DLOCALEDIR=\"$(localedir)\"
240
AM_CFLAGS = -fsigned-char
243
# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals.
244
# Unlike with other dist primaries, the files are not distributed if the
245
# conditional is false.
246
# Work the bug around until it is fixed:
247
dist_noinst_DATA = $(dist_man_MANS)
249
# Paths to in-tree libraries (use ul_ prefix to avoid possible collisions)
252
ul_libblkid_srcdir = $(top_srcdir)/shlibs/blkid/src
253
ul_libblkid_builddir = $(top_builddir)/shlibs/blkid/src
254
ul_libblkid_la = $(top_builddir)/shlibs/blkid/src/libblkid.la
256
# blkid.h is generated by ./configure script and stored in build directory
257
ul_libblkid_incdir = $(ul_libblkid_builddir)
260
ul_libuuid_srcdir = $(top_srcdir)/shlibs/uuid/src
261
ul_libuuid_builddir = $(top_builddir)/shlibs/uuid/src
262
ul_libuuid_la = $(top_builddir)/shlibs/uuid/src/libuuid.la
265
ul_libmount_srcdir = $(top_srcdir)/shlibs/mount/src
266
ul_libmount_builddir = $(top_builddir)/shlibs/mount/src
267
ul_libmount_la = $(top_builddir)/shlibs/mount/src/libmount.la
269
# libmount.h is generated by ./configure script and stored in build directory
270
ul_libmount_incdir = $(ul_libmount_builddir)
272
# We require automake 1.10 at least.
273
AUTOMAKE_OPTIONS = 1.10
275
# This is a blank Makefile.am for using gtk-doc.
276
# Copy this to your project's API docs directory and modify the variables to
277
# suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
278
# of using the various options.
280
# The name of the module, e.g. 'glib'.
281
DOC_MODULE = libblkid
283
# Uncomment for versioned docs and specify the version of the module, e.g. '2'.
284
#DOC_MODULE_VERSION=2
286
# The top-level SGML file. You can change this if you want to.
287
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
289
# The directory containing the source code. Relative to $(srcdir).
290
# gtk-doc will search all .c & .h files beneath here for inline comments
291
# documenting the functions and macros.
292
# e.g. DOC_SOURCE_DIR=../../../gtk
293
DOC_SOURCE_DIR = ../src
295
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
298
# Extra options to supply to gtkdoc-scan.
299
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
302
# Extra options to supply to gtkdoc-mkdb.
303
# e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
304
MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space blkid
306
# Extra options to supply to gtkdoc-mktmpl
307
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
310
# Extra options to supply to gtkdoc-mkhtml
313
# Extra options to supply to gtkdoc-fixref. Not normally needed.
314
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
317
# Used for dependencies. The docs will be rebuilt if any of these change.
318
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
319
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
320
HFILE_GLOB = $(ul_libblkid_incdir)/blkid.h
321
CFILE_GLOB = $(ul_libblkid_srcdir)/*.c
323
# Extra header to include when scanning, which are not under DOC_SOURCE_DIR
324
# e.g. EXTRA_HFILES=$(top_srcdir}/contrib/extra.h
327
# Header files to ignore when scanning. Use base file name, no paths
328
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
329
IGNORE_HFILES = blkidP.h list.h partitions.h superblocks.h topology.h aix.h dos.h
331
# Images to copy into HTML directory.
332
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
335
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
336
# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
337
content_files = $(builddir)/version.xml $(srcdir)/libblkid-config.xml
339
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
340
# These files must be listed here *and* in content_files
341
# e.g. expand_content_files=running.sgml
342
expand_content_files =
344
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
345
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
346
# signals and properties.
347
# e.g. GTKDOC_CFLAGS=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
348
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
351
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
352
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
353
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
354
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
355
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = sh -c
356
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
358
# We set GPATH here; this gives us semantics for GNU make
359
# which are more like other make's VPATH, when it comes to
360
# whether a source that is a target of one rule is then
361
# searched for in VPATH/GPATH.
364
TARGET_DIR = $(docdir)/$(DOC_MODULE)
366
# This includes the standard gtk-doc make rules, copied by gtkdocize.
368
# Other files to distribute
369
# e.g. EXTRA_DIST += version.xml.in
370
EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
371
$(DOC_MODULE)-sections.txt version.xml.in
372
# $(DOC_MODULE)-overrides.txt
373
DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
374
$(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
378
$(DOC_MODULE).hierarchy \
379
$(DOC_MODULE).interfaces \
380
$(DOC_MODULE).prerequisites \
381
$(DOC_MODULE).signals
384
$(DOC_MODULE)-undocumented.txt \
385
$(DOC_MODULE)-undeclared.txt \
386
$(DOC_MODULE)-unused.txt
388
CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
392
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/config/include-Makefile.am $(top_srcdir)/config/gtk-doc.make $(am__configure_deps)
394
case '$(am__configure_deps)' in \
396
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
397
&& { if test -f $@; then exit 0; else break; fi; }; \
401
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign shlibs/blkid/docs/Makefile'; \
402
$(am__cd) $(top_srcdir) && \
403
$(AUTOMAKE) --foreign shlibs/blkid/docs/Makefile
405
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
408
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
410
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
411
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
414
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
415
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
417
$(top_srcdir)/configure: $(am__configure_deps)
418
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
419
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
420
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
421
$(am__aclocal_m4_deps):
422
version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
423
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
437
distdir: $(DISTFILES)
438
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
439
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
440
list='$(DISTFILES)'; \
441
dist_files=`for file in $$list; do echo $$file; done | \
442
sed -e "s|^$$srcdirstrip/||;t" \
443
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
444
case $$dist_files in \
445
*/*) $(MKDIR_P) `echo "$$dist_files" | \
446
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
449
for file in $$dist_files; do \
450
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
451
if test -d $$d/$$file; then \
452
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
453
if test -d "$(distdir)/$$file"; then \
454
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
456
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
457
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
458
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
460
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
462
test -f "$(distdir)/$$file" \
463
|| cp -p $$d/$$file "$(distdir)/$$file" \
469
all-am: Makefile $(DATA) all-local
472
install-exec: install-exec-am
473
install-data: install-data-am
474
uninstall: uninstall-am
477
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
479
installcheck: installcheck-am
481
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
482
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
483
`test -z '$(STRIP)' || \
484
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
488
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
491
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
492
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
494
maintainer-clean-generic:
495
@echo "This command is intended for maintainers to use"
496
@echo "it deletes files that may require special tools to rebuild."
499
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
501
distclean: distclean-am
503
distclean-am: clean-am distclean-generic distclean-local
517
install-data-am: install-data-local
519
install-dvi: install-dvi-am
525
install-html: install-html-am
529
install-info: install-info-am
535
install-pdf: install-pdf-am
539
install-ps: install-ps-am
545
maintainer-clean: maintainer-clean-am
547
maintainer-clean-am: distclean-am maintainer-clean-generic
549
mostlyclean: mostlyclean-am
551
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
561
uninstall-am: uninstall-local
563
.MAKE: install-am install-strip
565
.PHONY: all all-am all-local check check-am clean clean-generic \
566
clean-libtool clean-local distclean distclean-generic \
567
distclean-libtool distclean-local distdir dvi dvi-am html \
568
html-am info info-am install install-am install-data \
569
install-data-am install-data-local install-dvi install-dvi-am \
570
install-exec install-exec-am install-html install-html-am \
571
install-info install-info-am install-man install-pdf \
572
install-pdf-am install-ps install-ps-am install-strip \
573
installcheck installcheck-am installdirs maintainer-clean \
574
maintainer-clean-generic mostlyclean mostlyclean-generic \
575
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
580
$(MAKE) -C $(ul_libblkid_builddir)
583
$(MAKE) -C $(ul_libuuid_builddir)
586
$(MAKE) -C $(ul_libmount_builddir)
588
@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
589
@ENABLE_GTK_DOC_FALSE@all-local:
591
docs: html-build.stamp
593
$(REPORT_FILES): sgml-build.stamp
597
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) $(srcdir)/$(DOC_MODULE)-*.txt $(content_files)
599
test -f $(DOC_MODULE)-sections.txt || \
600
cp $(srcdir)/$(DOC_MODULE)-sections.txt $(builddir)
602
@echo 'gtk-doc: Scanning header files'
603
gtkdoc-scan --module=$(DOC_MODULE) \
604
--source-dir=$(srcdir)/$(DOC_SOURCE_DIR) \
605
--source-dir=$(builddir)/$(DOC_SOURCE_DIR) \
606
--ignore-headers="$(IGNORE_HFILES)" \
607
--output-dir=$(builddir) \
608
$(SCAN_OPTIONS) $(EXTRA_HFILES)
610
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
611
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" \
612
CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) \
613
$(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) \
614
--module=$(DOC_MODULE) --output-dir=$(builddir) ; \
616
for i in $(SCANOBJ_FILES) ; do \
617
test -f $$i || touch $$i ; \
620
touch scan-build.stamp
622
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(srcdir)/$(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
627
tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(srcdir)/$(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
628
@echo 'gtk-doc: Rebuilding template files'
629
test -z $(builddir)/tmpl || $(MKDIR_P) $(builddir)/tmpl
630
gtkdoc-mktmpl --module=$(DOC_MODULE) \
632
touch tmpl-build.stamp
634
tmpl.stamp: tmpl-build.stamp
642
sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(srcdir)/$(DOC_MODULE)-sections.txt $(builddir)/tmpl/*.sgml $(expand_content_files)
643
@echo 'gtk-doc: Building XML'
644
gtkdoc-mkdb --module=$(DOC_MODULE) \
645
--source-dir=$(srcdir)/$(DOC_SOURCE_DIR) \
646
--source-dir=$(builddir)/$(DOC_SOURCE_DIR) \
647
--output-format=xml \
648
--ignore-files="$(IGNORE_HFILES)" \
649
--expand-content-files="$(expand_content_files)" \
650
--main-sgml-file=$(srcdir)/$(DOC_MAIN_SGML_FILE) \
652
touch sgml-build.stamp
654
sgml.stamp: sgml-build.stamp
659
html-build.stamp: sgml.stamp $(srcdir)/$(DOC_MAIN_SGML_FILE) $(content_files)
660
@echo 'gtk-doc: Building HTML'
661
rm -rf $(builddir)/html
662
$(MKDIR_P) $(builddir)/html
663
cd $(builddir)/html && \
664
gtkdoc-mkhtml --path="$(abs_builddir):$(abs_builddir)/xml:$(abs_srcdir)" \
667
$(abs_srcdir)/$(DOC_MAIN_SGML_FILE)
669
test "x$(HTML_IMAGES)" = "x" || \
670
( cd $(srcdir) && cp $(HTML_IMAGES) $(abs_builddir)/html )
672
@echo 'gtk-doc: Fixing cross-references'
673
gtkdoc-fixxref --module-dir=html \
674
--html-dir=$(HTML_DIR) \
676
touch html-build.stamp
685
rm -rf xml html tmpl $(REPORT_FILES) *.stamp \
686
$(DOC_MODULE)-overrides.txt \
687
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
688
test $(abs_builddir) == $(abs_srcdir) || \
689
rm -f $(DOC_MODULE)-sections.txt
692
installfiles=`echo $(builddir)/html/*`; \
693
if test "$$installfiles" = '$(builddir)/html/*'; \
694
then echo '-- Nothing to install' ; \
696
if test -n "$(DOC_MODULE_VERSION)"; then \
697
installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
699
installdir="$(DESTDIR)$(TARGET_DIR)"; \
701
$(mkinstalldirs) $${installdir} ; \
702
for i in $$installfiles; do \
703
echo '-- Installing '$$i ; \
704
$(INSTALL_DATA) $$i $${installdir}; \
706
if test -n "$(DOC_MODULE_VERSION)"; then \
707
mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
708
$${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
709
mv -f $${installdir}/$(DOC_MODULE).devhelp \
710
$${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
712
! which gtkdoc-rebase >/dev/null 2>&1 || \
713
gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \
717
if test -n "$(DOC_MODULE_VERSION)"; then \
718
installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
720
installdir="$(DESTDIR)$(TARGET_DIR)"; \
722
rm -rf $${installdir}
725
# Require gtk-doc when making dist
727
@ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
728
@ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc:
729
@ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc must be installed and enabled in order to make dist"
730
@ENABLE_GTK_DOC_FALSE@ @false
732
#dist-hook: dist-check-gtkdoc dist-hook-local sgml.stamp html-build.stamp
733
# mkdir $(distdir)/tmpl
734
# mkdir $(distdir)/xml
735
# mkdir $(distdir)/html
736
# -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
737
# -cp $(srcdir)/xml/*.xml $(distdir)/xml
738
# cp $(srcdir)/html/* $(distdir)/html
739
# -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
740
# -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
741
# cd $(distdir) && rm -f $(DISTCLEANFILES)
742
# ! which gtkdoc-rebase >/dev/null 2>&1 || \
743
# gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
745
#.PHONY : dist-hook-local docs
747
# Files not to distribute
748
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
749
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
752
# Comment this out if you want your docs-status tested during 'make check'
753
#TESTS_ENVIRONMENT = cd $(srcsrc)
754
#TESTS = $(GTKDOC_CHECK)
756
# Tell versions [3.59,3.63) of GNU make to not export all variables.
757
# Otherwise a system limit (for SysV at least) may be exceeded.