OSDN Git Service

[lfsja-git] r11.1-142 対応。
[lfsbookja/lfsja-git.git] / src / Makefile.in
1 # Makefile.in generated by automake 1.16.4 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2021 Free Software Foundation, Inc.
5
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.
9
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
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16 VPATH = @srcdir@
17 am__is_gnu_make = { \
18   if test -z '$(MAKELEVEL)'; then \
19     false; \
20   elif test -n '$(MAKE_HOST)'; then \
21     true; \
22   elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23     true; \
24   else \
25     false; \
26   fi; \
27 }
28 am__make_running_with_option = \
29   case $${target_option-} in \
30       ?) ;; \
31       *) echo "am__make_running_with_option: internal error: invalid" \
32               "target option '$${target_option-}' specified" >&2; \
33          exit 1;; \
34   esac; \
35   has_opt=no; \
36   sane_makeflags=$$MAKEFLAGS; \
37   if $(am__is_gnu_make); then \
38     sane_makeflags=$$MFLAGS; \
39   else \
40     case $$MAKEFLAGS in \
41       *\\[\ \   ]*) \
42         bs=\\; \
43         sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
44           | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
45     esac; \
46   fi; \
47   skip_next=no; \
48   strip_trailopt () \
49   { \
50     flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
51   }; \
52   for flg in $$sane_makeflags; do \
53     test $$skip_next = yes && { skip_next=no; continue; }; \
54     case $$flg in \
55       *=*|--*) continue;; \
56         -*I) strip_trailopt 'I'; skip_next=yes;; \
57       -*I?*) strip_trailopt 'I';; \
58         -*O) strip_trailopt 'O'; skip_next=yes;; \
59       -*O?*) strip_trailopt 'O';; \
60         -*l) strip_trailopt 'l'; skip_next=yes;; \
61       -*l?*) strip_trailopt 'l';; \
62       -[dEDm]) skip_next=yes;; \
63       -[JT]) skip_next=yes;; \
64     esac; \
65     case $$flg in \
66       *$$target_option*) has_opt=yes; break;; \
67     esac; \
68   done; \
69   test $$has_opt = yes
70 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
71 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
72 pkgdatadir = $(datadir)/@PACKAGE@
73 pkgincludedir = $(includedir)/@PACKAGE@
74 pkglibdir = $(libdir)/@PACKAGE@
75 pkglibexecdir = $(libexecdir)/@PACKAGE@
76 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
77 install_sh_DATA = $(install_sh) -c -m 644
78 install_sh_PROGRAM = $(install_sh) -c
79 install_sh_SCRIPT = $(install_sh) -c
80 INSTALL_HEADER = $(INSTALL_DATA)
81 transform = $(program_transform_name)
82 NORMAL_INSTALL = :
83 PRE_INSTALL = :
84 POST_INSTALL = :
85 NORMAL_UNINSTALL = :
86 PRE_UNINSTALL = :
87 POST_UNINSTALL = :
88 subdir = src
89 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
90 am__aclocal_m4_deps = $(top_srcdir)/version.ac \
91         $(top_srcdir)/m4/progs.m4 \
92         $(top_srcdir)/m4/ax_compare_version.m4 \
93         $(top_srcdir)/m4/ac_check_docbook_xslt.m4 \
94         $(top_srcdir)/m4/ac_check_docbook_dtd.m4 \
95         $(top_srcdir)/m4/ac_check_takaofontdir.m4 \
96         $(top_srcdir)/m4/ac_check_rev.m4 $(top_srcdir)/configure.ac
97 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
98         $(ACLOCAL_M4)
99 DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
100 mkinstalldirs = $(install_sh) -d
101 CONFIG_CLEAN_FILES = userconfig.xml
102 CONFIG_CLEAN_VPATH_FILES =
103 AM_V_P = $(am__v_P_@AM_V@)
104 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
105 am__v_P_0 = false
106 am__v_P_1 = :
107 AM_V_GEN = $(am__v_GEN_@AM_V@)
108 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
109 am__v_GEN_0 = @echo "  GEN     " $@;
110 am__v_GEN_1 = 
111 AM_V_at = $(am__v_at_@AM_V@)
112 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
113 am__v_at_0 = @
114 am__v_at_1 = 
115 SOURCES =
116 DIST_SOURCES =
117 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
118         ctags-recursive dvi-recursive html-recursive info-recursive \
119         install-data-recursive install-dvi-recursive \
120         install-exec-recursive install-html-recursive \
121         install-info-recursive install-pdf-recursive \
122         install-ps-recursive install-recursive installcheck-recursive \
123         installdirs-recursive pdf-recursive ps-recursive \
124         tags-recursive uninstall-recursive
125 am__can_run_installinfo = \
126   case $$AM_UPDATE_INFO_DIR in \
127     n|no|NO) false;; \
128     *) (install-info --version) >/dev/null 2>&1;; \
129   esac
130 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
131   distclean-recursive maintainer-clean-recursive
132 am__recursive_targets = \
133   $(RECURSIVE_TARGETS) \
134   $(RECURSIVE_CLEAN_TARGETS) \
135   $(am__extra_recursive_targets)
136 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
137         distdir distdir-am
138 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
139 # Read a list of newline-separated strings from the standard input,
140 # and print each of them once, without duplicates.  Input order is
141 # *not* preserved.
142 am__uniquify_input = $(AWK) '\
143   BEGIN { nonempty = 0; } \
144   { items[$$0] = 1; nonempty = 1; } \
145   END { if (nonempty) { for (i in items) print i; }; } \
146 '
147 # Make sure the list of sources is unique.  This is necessary because,
148 # e.g., the same source file might be shared among _SOURCES variables
149 # for different programs/libraries.
150 am__define_uniq_tagged_files = \
151   list='$(am__tagged_files)'; \
152   unique=`for i in $$list; do \
153     if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
154   done | $(am__uniquify_input)`
155 DIST_SUBDIRS = $(SUBDIRS)
156 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/userconfig.xml.in
157 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
158 am__relativize = \
159   dir0=`pwd`; \
160   sed_first='s,^\([^/]*\)/.*$$,\1,'; \
161   sed_rest='s,^[^/]*/*,,'; \
162   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
163   sed_butlast='s,/*[^/]*$$,,'; \
164   while test -n "$$dir1"; do \
165     first=`echo "$$dir1" | sed -e "$$sed_first"`; \
166     if test "$$first" != "."; then \
167       if test "$$first" = ".."; then \
168         dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
169         dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
170       else \
171         first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
172         if test "$$first2" = "$$first"; then \
173           dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
174         else \
175           dir2="../$$dir2"; \
176         fi; \
177         dir0="$$dir0"/"$$first"; \
178       fi; \
179     fi; \
180     dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
181   done; \
182   reldir="$$dir2"
183 ACLOCAL = @ACLOCAL@
184 AMTAR = @AMTAR@
185 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
186 AUTOCONF = @AUTOCONF@
187 AUTOHEADER = @AUTOHEADER@
188 AUTOMAKE = @AUTOMAKE@
189 AWK = @AWK@
190 BASEDIR = @BASEDIR@
191 CC = @CC@
192 CCDEPMODE = @CCDEPMODE@
193 CFLAGS = @CFLAGS@
194 CPPFLAGS = @CPPFLAGS@
195 CSCOPE = @CSCOPE@
196 CTAGS = @CTAGS@
197 CTIE = @CTIE@
198 CYGPATH_W = @CYGPATH_W@
199 DEFS = @DEFS@
200 DEPDIR = @DEPDIR@
201 DUMPDIR = @DUMPDIR@
202 ECHO_C = @ECHO_C@
203 ECHO_N = @ECHO_N@
204 ECHO_T = @ECHO_T@
205 ETAGS = @ETAGS@
206 EXEEXT = @EXEEXT@
207 FOP = @FOP@
208 GITVER = @GITVER@
209 INSTALL = @INSTALL@
210 INSTALL_DATA = @INSTALL_DATA@
211 INSTALL_PROGRAM = @INSTALL_PROGRAM@
212 INSTALL_SCRIPT = @INSTALL_SCRIPT@
213 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
214 LDFLAGS = @LDFLAGS@
215 LIBOBJS = @LIBOBJS@
216 LIBS = @LIBS@
217 LTLIBOBJS = @LTLIBOBJS@
218 LYNX = @LYNX@
219 MAINT = @MAINT@
220 MAKEINFO = @MAKEINFO@
221 MKDIR_P = @MKDIR_P@
222 NOCHUNKS_NAME = @NOCHUNKS_NAME@
223 NOCHUNKS_OUTPUT = @NOCHUNKS_OUTPUT@
224 OBJEXT = @OBJEXT@
225 PACKAGE = @PACKAGE@
226 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
227 PACKAGE_NAME = @PACKAGE_NAME@
228 PACKAGE_STRING = @PACKAGE_STRING@
229 PACKAGE_TARNAME = @PACKAGE_TARNAME@
230 PACKAGE_URL = @PACKAGE_URL@
231 PACKAGE_VERSION = @PACKAGE_VERSION@
232 PATH_SEPARATOR = @PATH_SEPARATOR@
233 PDF = @PDF@
234 PDF_OUTPUT = @PDF_OUTPUT@
235 SET_MAKE = @SET_MAKE@
236 SHELL = @SHELL@
237 STRIP = @STRIP@
238 TAKAO = @TAKAO@
239 TAKAOGEXFILE = @TAKAOGEXFILE@
240 TAKAOGFILE = @TAKAOGFILE@
241 TAKAOGFONTDIR = @TAKAOGFONTDIR@
242 TAKAOMFILE = @TAKAOMFILE@
243 TAKAOMFONTDIR = @TAKAOMFONTDIR@
244 TIDY = @TIDY@
245 TXT = @TXT@
246 VERSION = @VERSION@
247 XMLLINT = @XMLLINT@
248 XSLTPROC = @XSLTPROC@
249 abs_bookdir = @abs_bookdir@
250 abs_builddir = @abs_builddir@
251 abs_srcdir = @abs_srcdir@
252 abs_top_builddir = @abs_top_builddir@
253 abs_top_srcdir = @abs_top_srcdir@
254 ac_ct_CC = @ac_ct_CC@
255 am__include = @am__include@
256 am__leading_dot = @am__leading_dot@
257 am__quote = @am__quote@
258 am__tar = @am__tar@
259 am__untar = @am__untar@
260 bindir = @bindir@
261 bookdir = @bookdir@
262 build_alias = @build_alias@
263 builddir = @builddir@
264 datadir = @datadir@
265 datarootdir = @datarootdir@
266 docdir = @docdir@
267 dvidir = @dvidir@
268 exec_prefix = @exec_prefix@
269 host_alias = @host_alias@
270 htmldir = @htmldir@
271 includedir = @includedir@
272 infodir = @infodir@
273 install_sh = @install_sh@
274 libdir = @libdir@
275 libexecdir = @libexecdir@
276 localedir = @localedir@
277 localstatedir = @localstatedir@
278 mandir = @mandir@
279 mkdir_p = @mkdir_p@
280 oldincludedir = @oldincludedir@
281 pdfdir = @pdfdir@
282 prefix = @prefix@
283 program_transform_name = @program_transform_name@
284 psdir = @psdir@
285 revspec = @revspec@
286 runstatedir = @runstatedir@
287 sbindir = @sbindir@
288 sharedstatedir = @sharedstatedir@
289 srcdir = @srcdir@
290 sysconfdir = @sysconfdir@
291 target_alias = @target_alias@
292 top_build_prefix = @top_build_prefix@
293 top_builddir = @top_builddir@
294 top_srcdir = @top_srcdir@
295 SUBDIRS = appendices chapter01 chapter02 chapter03 chapter04 chapter05 \
296         chapter06 chapter07 chapter08 chapter09 chapter10 chapter11 \
297         part3intro prologue stylesheets udev-lfs
298
299 EXTRA_DIST = general.ch index.ch packages.ch patches.ch pdf-fixups.ch \
300         tidy.ch make-aux-files.ch aux-file-data.ch
301
302 BOOKdir = @abs_bookdir@
303 srcs = general.ent index.xml packages.ent patches.ent pdf-fixups.sh \
304         process-scripts.sh aux-file-data.sh tidy.conf make-aux-files.sh \
305         git-version.sh conditional.ent
306
307 DISTCLEANFILES = $(srcs)
308 ROOT_ID = 
309 RENDERTMP = tmp
310 CHUNK_QUIET = 1
311 URLTOP = http\:\/\/lfsbookja.osdn.jp\/git-ja
312
313 #ALLXML := $(filter-out $(RENDERTMP)/%, \
314 #       $(wildcard ./*.xml ./*/*.xml))
315 ALLXML = $(shell find . -type d -name $(RENDERTMP) -prune -o -type f -name '*.xml' -print)
316 REV = @revspec@
317 all: all-recursive
318
319 .SUFFIXES:
320 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
321         @for dep in $?; do \
322           case '$(am__configure_deps)' in \
323             *$$dep*) \
324               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
325                 && { if test -f $@; then exit 0; else break; fi; }; \
326               exit 1;; \
327           esac; \
328         done; \
329         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
330         $(am__cd) $(top_srcdir) && \
331           $(AUTOMAKE) --gnu src/Makefile
332 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
333         @case '$?' in \
334           *config.status*) \
335             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
336           *) \
337             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
338             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
339         esac;
340
341 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
342         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343
344 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
345         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
346 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
347         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
348 $(am__aclocal_m4_deps):
349 userconfig.xml: $(top_builddir)/config.status $(srcdir)/userconfig.xml.in
350         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
351
352 # This directory's subdirectories are mostly independent; you can cd
353 # into them and run 'make' without going through this Makefile.
354 # To change the values of 'make' variables: instead of editing Makefiles,
355 # (1) if the variable is set in 'config.status', edit 'config.status'
356 #     (which will cause the Makefiles to be regenerated when you run 'make');
357 # (2) otherwise, pass the desired values on the 'make' command line.
358 $(am__recursive_targets):
359         @fail=; \
360         if $(am__make_keepgoing); then \
361           failcom='fail=yes'; \
362         else \
363           failcom='exit 1'; \
364         fi; \
365         dot_seen=no; \
366         target=`echo $@ | sed s/-recursive//`; \
367         case "$@" in \
368           distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
369           *) list='$(SUBDIRS)' ;; \
370         esac; \
371         for subdir in $$list; do \
372           echo "Making $$target in $$subdir"; \
373           if test "$$subdir" = "."; then \
374             dot_seen=yes; \
375             local_target="$$target-am"; \
376           else \
377             local_target="$$target"; \
378           fi; \
379           ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
380           || eval $$failcom; \
381         done; \
382         if test "$$dot_seen" = "no"; then \
383           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
384         fi; test -z "$$fail"
385
386 ID: $(am__tagged_files)
387         $(am__define_uniq_tagged_files); mkid -fID $$unique
388 tags: tags-recursive
389 TAGS: tags
390
391 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
392         set x; \
393         here=`pwd`; \
394         if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
395           include_option=--etags-include; \
396           empty_fix=.; \
397         else \
398           include_option=--include; \
399           empty_fix=; \
400         fi; \
401         list='$(SUBDIRS)'; for subdir in $$list; do \
402           if test "$$subdir" = .; then :; else \
403             test ! -f $$subdir/TAGS || \
404               set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
405           fi; \
406         done; \
407         $(am__define_uniq_tagged_files); \
408         shift; \
409         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
410           test -n "$$unique" || unique=$$empty_fix; \
411           if test $$# -gt 0; then \
412             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
413               "$$@" $$unique; \
414           else \
415             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
416               $$unique; \
417           fi; \
418         fi
419 ctags: ctags-recursive
420
421 CTAGS: ctags
422 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
423         $(am__define_uniq_tagged_files); \
424         test -z "$(CTAGS_ARGS)$$unique" \
425           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
426              $$unique
427
428 GTAGS:
429         here=`$(am__cd) $(top_builddir) && pwd` \
430           && $(am__cd) $(top_srcdir) \
431           && gtags -i $(GTAGS_ARGS) "$$here"
432 cscopelist: cscopelist-recursive
433
434 cscopelist-am: $(am__tagged_files)
435         list='$(am__tagged_files)'; \
436         case "$(srcdir)" in \
437           [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
438           *) sdir=$(subdir)/$(srcdir) ;; \
439         esac; \
440         for i in $$list; do \
441           if test -f "$$i"; then \
442             echo "$(subdir)/$$i"; \
443           else \
444             echo "$$sdir/$$i"; \
445           fi; \
446         done >> $(top_builddir)/cscope.files
447
448 distclean-tags:
449         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
450 distdir: $(BUILT_SOURCES)
451         $(MAKE) $(AM_MAKEFLAGS) distdir-am
452
453 distdir-am: $(DISTFILES)
454         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
455         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
456         list='$(DISTFILES)'; \
457           dist_files=`for file in $$list; do echo $$file; done | \
458           sed -e "s|^$$srcdirstrip/||;t" \
459               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
460         case $$dist_files in \
461           */*) $(MKDIR_P) `echo "$$dist_files" | \
462                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
463                            sort -u` ;; \
464         esac; \
465         for file in $$dist_files; do \
466           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
467           if test -d $$d/$$file; then \
468             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
469             if test -d "$(distdir)/$$file"; then \
470               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
471             fi; \
472             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
473               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
474               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
475             fi; \
476             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
477           else \
478             test -f "$(distdir)/$$file" \
479             || cp -p $$d/$$file "$(distdir)/$$file" \
480             || exit 1; \
481           fi; \
482         done
483         @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
484           if test "$$subdir" = .; then :; else \
485             $(am__make_dryrun) \
486               || test -d "$(distdir)/$$subdir" \
487               || $(MKDIR_P) "$(distdir)/$$subdir" \
488               || exit 1; \
489             dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
490             $(am__relativize); \
491             new_distdir=$$reldir; \
492             dir1=$$subdir; dir2="$(top_distdir)"; \
493             $(am__relativize); \
494             new_top_distdir=$$reldir; \
495             echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
496             echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
497             ($(am__cd) $$subdir && \
498               $(MAKE) $(AM_MAKEFLAGS) \
499                 top_distdir="$$new_top_distdir" \
500                 distdir="$$new_distdir" \
501                 am__remove_distdir=: \
502                 am__skip_length_check=: \
503                 am__skip_mode_fix=: \
504                 distdir) \
505               || exit 1; \
506           fi; \
507         done
508 check-am: all-am
509 check: check-recursive
510 all-am: Makefile
511 installdirs: installdirs-recursive
512 installdirs-am:
513 install: install-recursive
514 install-exec: install-exec-recursive
515 install-data: install-data-recursive
516 uninstall: uninstall-recursive
517
518 install-am: all-am
519         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
520
521 installcheck: installcheck-recursive
522 install-strip:
523         if test -z '$(STRIP)'; then \
524           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
525             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
526               install; \
527         else \
528           $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
529             install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
530             "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
531         fi
532 mostlyclean-generic:
533
534 clean-generic:
535
536 distclean-generic:
537         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
538         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
539         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
540
541 maintainer-clean-generic:
542         @echo "This command is intended for maintainers to use"
543         @echo "it deletes files that may require special tools to rebuild."
544 clean: clean-recursive
545
546 clean-am: clean-generic mostlyclean-am
547
548 distclean: distclean-recursive
549         -rm -f Makefile
550 distclean-am: clean-am distclean-generic distclean-tags
551
552 dvi: dvi-recursive
553
554 dvi-am:
555
556 html: html-recursive
557
558 html-am:
559
560 info: info-recursive
561
562 info-am:
563
564 install-data-am:
565
566 install-dvi: install-dvi-recursive
567
568 install-dvi-am:
569
570 install-exec-am:
571
572 install-html: install-html-recursive
573
574 install-html-am:
575
576 install-info: install-info-recursive
577
578 install-info-am:
579
580 install-man:
581
582 install-pdf: install-pdf-recursive
583
584 install-pdf-am:
585
586 install-ps: install-ps-recursive
587
588 install-ps-am:
589
590 installcheck-am:
591
592 maintainer-clean: maintainer-clean-recursive
593         -rm -f Makefile
594 maintainer-clean-am: distclean-am maintainer-clean-generic
595
596 mostlyclean: mostlyclean-recursive
597
598 mostlyclean-am: mostlyclean-generic
599
600 pdf: pdf-recursive
601
602 pdf-am:
603
604 ps: ps-recursive
605
606 ps-am:
607
608 uninstall-am:
609
610 .MAKE: $(am__recursive_targets) install-am install-strip
611
612 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am check \
613         check-am clean clean-generic cscopelist-am ctags ctags-am \
614         distclean distclean-generic distclean-tags distdir dvi dvi-am \
615         html html-am info info-am install install-am install-data \
616         install-data-am install-dvi install-dvi-am install-exec \
617         install-exec-am install-html install-html-am install-info \
618         install-info-am install-man install-pdf install-pdf-am \
619         install-ps install-ps-am install-strip installcheck \
620         installcheck-am installdirs installdirs-am maintainer-clean \
621         maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
622         pdf-am ps ps-am tags tags-am uninstall uninstall-am
623
624 .PRECIOUS: Makefile
625
626
627 all: ctie $(srcs) stylesheets _bootscripts scripts udev-lfs book
628
629 ctie:
630         @$(MAKE) -C $(top_builddir)/$@ $@ >/dev/null
631
632 general.ent: $(BOOKdir)/general.ent $(srcdir)/general.ch
633         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
634 index.xml: $(BOOKdir)/index.xml $(srcdir)/index.ch
635         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
636 packages.ent: $(BOOKdir)/packages.ent $(srcdir)/packages.ch
637         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
638 patches.ent: $(BOOKdir)/patches.ent $(srcdir)/patches.ch
639         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
640 tidy.conf: $(BOOKdir)/tidy.conf $(srcdir)/tidy.ch
641         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
642
643 .PHONY: scripts
644 scripts: process-scripts.sh aux-file-data.sh make-aux-files.sh pdf-fixups.sh git-version.sh
645
646 process-scripts.sh: $(BOOKdir)/process-scripts.sh
647         cp -p $^ $@
648 aux-file-data.sh: $(BOOKdir)/aux-file-data.sh $(srcdir)/aux-file-data.ch
649         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
650         chmod +x $@
651 #       sed -i '/.\/make-aux-files.sh/d' $@
652 make-aux-files.sh: $(BOOKdir)/make-aux-files.sh $(srcdir)/make-aux-files.ch
653         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
654         chmod +x $@
655 pdf-fixups.sh: $(BOOKdir)/pdf-fixups.sh $(srcdir)/pdf-fixups.ch
656         $(top_builddir)/$(CTIE) -m $@ $^ >/dev/null
657 git-version.sh: $(BOOKdir)/git-version.sh
658         sed -e "s|version\.ent|$(abs_builddir)/version\.ent|g" \
659             -e "/^full_date/afull_date=\"\$$year/\$$month_digit/\$$day\"" $^ > $@
660 conditional.ent: $(BOOKdir)/conditional.ent
661         cp -p $^ $@
662
663 stylesheets:
664         $(MKDIR_P) stylesheets
665         cp -R $(BOOKdir)/stylesheets/* stylesheets
666
667 _bootscripts: $(ALLXML)
668         $(MKDIR_P) bootscripts
669         cp -pR $(BOOKdir)/bootscripts/* bootscripts
670
671 udev-lfs:
672         $(MKDIR_P) udev-lfs
673 #       cp -R $(BOOKdir)/udev-lfs/* udev-lfs
674
675 book: validate profile-html
676         @echo "Generating chunked XHTML files at $(BASEDIR)/ ..."
677         $(XSLTPROC) --nonet                          \
678           --stringparam chunk.quietly $(CHUNK_QUIET) \
679           --stringparam rootid "$(ROOT_ID)"          \
680           --stringparam base.dir $(BASEDIR)/         \
681           stylesheets/lfs-chunked.xsl                \
682           $(RENDERTMP)/lfs-html.xml
683
684         @echo "Copying CSS code and images..."
685         $(MKDIR_P) $(BASEDIR)/stylesheets
686         cp stylesheets/lfs-xsl/*.css $(BASEDIR)/stylesheets
687         sed -i 's|../stylesheet|stylesheet|' $(BASEDIR)/index.html
688
689         $(MKDIR_P) $(BASEDIR)/images
690         cp -p $(BOOKdir)/images/*.png $(BASEDIR)/images
691
692         @echo "Running Tidy and obfuscate.sh..."
693         for filename in `find $(BASEDIR) -name "*.html"`; do \
694          $(TIDY) -config tidy.conf $$filename;           \
695          true;                                        \
696          ${SHELL} $(BOOKdir)/obfuscate.sh $$filename;           \
697          sed -e "s@text/html@application/xhtml+xml@g" \
698              -i $$filename;                           \
699         done;
700
701 #       $(MAKE) --no-print-directory $(BASEDIR)/wget-list $(BASEDIR)/md5sums
702         $(MAKE) --no-print-directory wget-list md5sums
703
704 @TXT@nochunks: validate profile-html
705 @TXT@   @echo "Generating non chunked XHTML file..."
706 @TXT@   $(XSLTPROC) --nonet                                 \
707 @TXT@                -stringparam rootid "$(ROOT_ID)"       \
708 @TXT@                --output $(BASEDIR)/$(NOCHUNKS_OUTPUT) \
709 @TXT@                stylesheets/lfs-nochunks.xsl           \
710 @TXT@                $(RENDERTMP)/lfs-full.xml
711 @TXT@#                $(RENDERTMP)/lfs-html2.xml
712
713 @TXT@   @echo "Running Tidy..."
714 @TXT@   $(TIDY) -config tidy.conf $(BASEDIR)/$(NOCHUNKS_OUTPUT) || true
715 @TXT@   @echo "Running obfuscate.sh..."
716 @TXT@   ${SHELL} $(BOOKdir)/obfuscate.sh                 $(BASEDIR)/$(NOCHUNKS_OUTPUT)
717 @TXT@   sed -i -e "s@text/html@application/xhtml+xml@g"  $(BASEDIR)/$(NOCHUNKS_OUTPUT)
718 @TXT@   sed -i -e "s@../wget-list@wget-list@"            $(BASEDIR)/$(NOCHUNKS_OUTPUT)
719 @TXT@   sed -i -e "s@../md5sums@md5sums@"                $(BASEDIR)/$(NOCHUNKS_OUTPUT)
720 @TXT@   make $(BASEDIR)/wget-list $(BASEDIR)/md5sums
721
722 @TXT@txt: nochunks
723 @TXT@   $(LYNX) -assume_charset=utf-8 -display_charset=utf-8 -width=44 -dump $(BASEDIR)/$(NOCHUNKS_OUTPUT) > ../$(NOCHUNKS_NAME).txt
724 @TXT@   sed -i -e "s@file\:///[A-Za-z/\-]+\.html@$(URLTOP)/$(NOCHUNKS_NAME)-nochunks.html@g" \
725 @TXT@          -e "s@file\://$(abs_top_builddir)@$(URLTOP)@g" ../$(NOCHUNKS_NAME).txt
726
727 @PDF@@TAKAO@pdf: validate userconfig.xml
728 @PDF@@TAKAO@    @echo "Generating profiled XML for PDF..."
729 @PDF@@TAKAO@    $(XSLTPROC) --nonet --stringparam profile.condition pdf \
730 @PDF@@TAKAO@    --output $(RENDERTMP)/lfs-pdf.xml stylesheets/lfs-xsl/profile.xsl \
731 @PDF@@TAKAO@    $(RENDERTMP)/lfs-full.xml
732 @PDF@@TAKAO@
733 @PDF@@TAKAO@    @echo "Generating FO file..."
734 @PDF@@TAKAO@    $(XSLTPROC) --nonet -stringparam rootid "$(ROOT_ID)" \
735 @PDF@@TAKAO@    --output $(RENDERTMP)/lfs-pdf.fo stylesheets/lfs-pdf.xsl \
736 @PDF@@TAKAO@    $(RENDERTMP)/lfs-pdf.xml
737 @PDF@@TAKAO@    sed -i -e 's/span="inherit"/span="all"/' $(RENDERTMP)/lfs-pdf.fo
738 @PDF@@TAKAO@    sed -i -e 's|\.\./wget-list|wget-list|g' -e 's|\.\./md5sums|md5sums|g' $(RENDERTMP)/lfs-pdf.fo
739 @PDF@@TAKAO@    bash pdf-fixups.sh $(RENDERTMP)/lfs-pdf.fo
740 @PDF@@TAKAO@
741 @PDF@@TAKAO@    @echo "Generating PDF file..."
742 @PDF@@TAKAO@    cp -R $(BASEDIR)/images .;
743 @PDF@@TAKAO@    $(FOP) -c userconfig.xml $(RENDERTMP)/lfs-pdf.fo ./$(PDF_OUTPUT)
744 @PDF@@TAKAO@
745 @PDF@@TAKAO@    @echo "Copying images to destination..."
746 @PDF@@TAKAO@    $(Q)mkdir -p $(BASEDIR)/images
747 @PDF@@TAKAO@    $(Q)cp images/*.png $(BASEDIR)/images
748
749 @PDF@@TAKAO@userconfig.xml: $(srcdir)/userconfig.xml.in
750
751 tmpdir: $(ALLXML)
752         @echo "Creating and cleaning $(RENDERTMP)"
753         [ -d $(RENDERTMP) ] || $(MKDIR_P) $(RENDERTMP)
754         rm -f $(RENDERTMP)/lfs-{full,html,pdf}.xml
755         rm -f $(RENDERTMP)/lfs-pdf.fo
756
757 validate: tmpdir version $(ALLXML)
758         @echo "Processing bootscripts..."
759         bash process-scripts.sh
760
761         @echo "Adjusting for revision $(REV)..."
762         $(XSLTPROC) --nonet                           \
763                 --xinclude                            \
764                 --output $(RENDERTMP)/lfs-html2.xml   \
765                 --stringparam profile.revision $(REV) \
766                 stylesheets/lfs-xsl/profile.xsl       \
767                 index.xml
768
769         @echo "Validating the book..."
770         $(XMLLINT) --nonet                  \
771                --noent                      \
772                --postvalid                  \
773                -o $(RENDERTMP)/lfs-full.xml \
774                $(RENDERTMP)/lfs-html2.xml
775
776         rm -f appendices/*.script
777         ./aux-file-data.sh $(RENDERTMP)/lfs-full.xml $(BOOKdir)
778         @echo "Validation complete."
779
780 maketar:
781         @echo "Making tarballs..."
782         sh make-aux-files.sh $(BOOKdir)
783
784 profile-html: validate $(ALLXML)
785         @echo "Generating profiled XML for XHTML..."
786         $(XSLTPROC) --nonet --stringparam profile.condition html \
787           --output $(RENDERTMP)/lfs-html.xml stylesheets/lfs-xsl/profile.xsl \
788           $(RENDERTMP)/lfs-full.xml
789
790 wget-list: $(BASEDIR)/wget-list $(BASEDIR)/wget-list-$(REV)
791 $(BASEDIR)/wget-list: stylesheets/wget-list.xsl chapter03/chapter03.xml \
792                       packages.ent patches.ent general.ent
793         @echo "Generating consolidated wget list at $(BASEDIR)/wget-list ..."
794         $(MKDIR_P) $(BASEDIR)
795         $(XSLTPROC) --xinclude --nonet                     \
796                 --output $(BASEDIR)/wget-list              \
797                      $(BOOKdir)/stylesheets/wget-list.xsl  \
798                 $(BOOKdir)/chapter03/chapter03.xml
799
800 $(BASEDIR)/wget-list-$(REV): stylesheets/wget-list.xsl \
801                              chapter03/chapter03.xml \
802                              packages.ent patches.ent general.ent
803         $(Q)xsltproc --nonet --xinclude                   \
804                 --stringparam profile.revision $(REV) \
805                 --output $(RENDERTMP)/wget-list.xml   \
806                 $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl \
807                 $(BOOKdir)/chapter03/chapter03.xml
808         $(Q)xsltproc --xinclude --nonet                  \
809                 --output $(BASEDIR)/wget-list-$(REV) \
810                 $(BOOKdir)/stylesheets/wget-list.xsl \
811                 $(RENDERTMP)/wget-list.xml
812
813 md5sums: $(BASEDIR)/md5sums
814 $(BASEDIR)/md5sums: stylesheets/wget-list.xsl chapter03/chapter03.xml packages.ent patches.ent $(srcdir)/general.ch
815         @echo "Generating consolidated md5sum file at $(BASEDIR)/md5sums ..."
816         $(MKDIR_P) $(BASEDIR)
817         $(XSLTPROC) --nonet --xinclude                \
818                 --stringparam profile.revision $(REV) \
819                 --output $(RENDERTMP)/md5sum.xml      \
820                 $(BOOKdir)/stylesheets/lfs-xsl/profile.xsl       \
821                 $(BOOKdir)/chapter03/chapter03.xml
822         $(XSLTPROC) --xinclude --nonet      \
823                 --output $(BASEDIR)/md5sums \
824                 $(BOOKdir)/stylesheets/md5sum.xsl      \
825                 $(RENDERTMP)/md5sum.xml
826         sed -i -e \
827            "s/BOOTSCRIPTS-MD5SUM/$(shell md5sum lfs-bootscripts*.tar.xz | cut -d' ' -f1)/" \
828            $(BASEDIR)/md5sums
829
830 version:
831         (cd $(BOOKdir) && sh $(abs_builddir)/git-version.sh $(REV))
832
833 #dump-commands: validate
834 #       @echo "Dumping book commands..."
835 #       $(XSLTPROC) --output $(DUMPDIR)/ \
836 #          stylesheets/dump-commands.xsl $(RENDERTMP)/lfs-full.xml
837
838 #all: lfs nochunks pdf dump-commands
839
840 .PHONY : all lfs nochunks pdf profile-html tmpdir validate md5sums wget-list version
841
842 # Tell versions [3.59,3.63) of GNU make to not export all variables.
843 # Otherwise a system limit (for SysV at least) may be exceeded.
844 .NOEXPORT: