1 # Makefile.in generated by automake 1.12.2 from Makefile.am.
4 # Copyright (C) 1994-2012 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
25 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
26 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
28 for am__flg in $$MAKEFLAGS; do \
31 *n*) am__dry=yes; break;; \
35 test $$am__dry = yes; \
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkglibexecdir = $(libexecdir)/@PACKAGE@
41 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
42 install_sh_DATA = $(install_sh) -c -m 644
43 install_sh_PROGRAM = $(install_sh) -c
44 install_sh_SCRIPT = $(install_sh) -c
45 INSTALL_HEADER = $(INSTALL_DATA)
46 transform = $(program_transform_name)
53 bin_PROGRAMS = xmlif/xmlif$(EXEEXT)
55 DIST_COMMON = README $(am__configure_deps) $(dist_man1_MANS) \
56 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
57 $(srcdir)/config.h.in $(srcdir)/xmlto.in \
58 $(srcdir)/xmlto.spec.in $(top_srcdir)/configure AUTHORS \
59 COPYING ChangeLog INSTALL NEWS THANKS compile depcomp \
60 install-sh missing xmlif/xmlif.c ylwrap
61 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
62 am__aclocal_m4_deps = $(top_srcdir)/configure.in
63 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
65 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
66 configure.lineno config.status.lineno
67 mkinstalldirs = $(install_sh) -d
68 CONFIG_HEADER = config.h
69 CONFIG_CLEAN_FILES = xmlto xmlto.spec
70 CONFIG_CLEAN_VPATH_FILES =
71 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
72 "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgdatadir)"
73 PROGRAMS = $(bin_PROGRAMS)
74 am__dirstamp = $(am__leading_dot)dirstamp
75 am_xmlif_xmlif_OBJECTS = xmlif/xmlif.$(OBJEXT)
76 xmlif_xmlif_OBJECTS = $(am_xmlif_xmlif_OBJECTS)
77 xmlif_xmlif_LDADD = $(LDADD)
78 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
79 am__vpath_adj = case $$p in \
80 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
83 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
85 am__nobase_strip_setup = \
86 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
88 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
89 am__nobase_list = $(am__nobase_strip_setup); \
90 for p in $$list; do echo "$$p $$p"; done | \
91 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
92 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
93 if (++n[$$2] == $(am__install_max)) \
94 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
95 END { for (dir in files) print dir, files[dir] }'
97 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
98 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
99 am__uninstall_files_from_dir = { \
101 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
102 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
103 $(am__cd) "$$dir" && rm -f $$files; }; \
105 SCRIPTS = $(bin_SCRIPTS)
106 DEFAULT_INCLUDES = -I.@am__isrc@
107 depcomp = $(SHELL) $(top_srcdir)/depcomp
108 am__depfiles_maybe = depfiles
110 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
111 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
113 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
114 LEXCOMPILE = $(LEX) $(AM_LFLAGS) $(LFLAGS)
115 YLWRAP = $(top_srcdir)/ylwrap
116 SOURCES = $(xmlif_xmlif_SOURCES)
117 DIST_SOURCES = $(xmlif_xmlif_SOURCES)
118 am__can_run_installinfo = \
119 case $$AM_UPDATE_INFO_DIR in \
121 *) (install-info --version) >/dev/null 2>&1;; \
123 man1dir = $(mandir)/man1
125 MANS = $(dist_man1_MANS)
126 DATA = $(nobase_pkgdata_DATA)
130 AM_RECURSIVE_TARGETS = cscope
131 am__tty_colors_dummy = \
132 mgn= red= grn= lgn= blu= brg= std=; \
134 am__tty_colors = $(am__tty_colors_dummy)
135 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
136 distdir = $(PACKAGE)-$(VERSION)
137 top_distdir = $(distdir)
138 am__remove_distdir = \
139 if test -d "$(distdir)"; then \
140 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
141 && rm -rf "$(distdir)" \
142 || { sleep 5 && rm -rf "$(distdir)"; }; \
144 am__post_remove_distdir = $(am__remove_distdir)
145 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
147 DIST_TARGETS = dist-bzip2 dist-gzip
148 distuninstallcheck_listfiles = find . -type f -print
149 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
150 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
151 distcleancheck_listfiles = find . -type f -print
154 AUTOCONF = @AUTOCONF@
155 AUTOHEADER = @AUTOHEADER@
156 AUTOMAKE = @AUTOMAKE@
161 CCDEPMODE = @CCDEPMODE@
163 CPPFLAGS = @CPPFLAGS@
164 CYGPATH_W = @CYGPATH_W@
178 INSTALL_DATA = @INSTALL_DATA@
179 INSTALL_PROGRAM = @INSTALL_PROGRAM@
180 INSTALL_SCRIPT = @INSTALL_SCRIPT@
181 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
185 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
190 LTLIBOBJS = @LTLIBOBJS@
192 MAKEINFO = @MAKEINFO@
197 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
198 PACKAGE_NAME = @PACKAGE_NAME@
199 PACKAGE_STRING = @PACKAGE_STRING@
200 PACKAGE_TARNAME = @PACKAGE_TARNAME@
201 PACKAGE_URL = @PACKAGE_URL@
202 PACKAGE_VERSION = @PACKAGE_VERSION@
203 PAPER_CONF = @PAPER_CONF@
204 PATH_SEPARATOR = @PATH_SEPARATOR@
205 PDFXMLTEX = @PDFXMLTEX@
207 SET_MAKE = @SET_MAKE@
213 WEBBROWSER = @WEBBROWSER@
216 XSLTPROC = @XSLTPROC@
218 abs_builddir = @abs_builddir@
219 abs_srcdir = @abs_srcdir@
220 abs_top_builddir = @abs_top_builddir@
221 abs_top_srcdir = @abs_top_srcdir@
222 ac_ct_CC = @ac_ct_CC@
223 am__include = @am__include@
224 am__leading_dot = @am__leading_dot@
225 am__quote = @am__quote@
227 am__untar = @am__untar@
229 build_alias = @build_alias@
230 builddir = @builddir@
232 datarootdir = @datarootdir@
235 exec_prefix = @exec_prefix@
236 host_alias = @host_alias@
238 includedir = @includedir@
240 install_sh = @install_sh@
242 libexecdir = @libexecdir@
243 localedir = @localedir@
244 localstatedir = @localstatedir@
247 oldincludedir = @oldincludedir@
250 program_transform_name = @program_transform_name@
253 sharedstatedir = @sharedstatedir@
255 sysconfdir = @sysconfdir@
256 target_alias = @target_alias@
257 top_build_prefix = @top_build_prefix@
258 top_builddir = @top_builddir@
259 top_srcdir = @top_srcdir@
261 dist_man1_MANS = man/man1/xmlto.1 man/man1/xmlif.1
262 xmlif_xmlif_SOURCES = xmlif/xmlif.l
263 baseformats = format/docbook/dvi \
264 format/docbook/epub \
266 format/docbook/html \
267 format/docbook/html-nochunks \
268 format/docbook/xhtml \
269 format/docbook/xhtml-nochunks \
274 format/docbook/htmlhelp \
275 format/docbook/javahelp \
287 passivetexformats = format/fo/dvi \
290 xhtml1formats = format/xhtml1/dvi \
300 xmliftests = xmlif/test/run-test \
301 xmlif/test/test.xml \
302 xmlif/test/result-no-condition \
303 xmlif/test/result-unrelated-condition \
304 xmlif/test/result-html \
305 xmlif/test/result-pdf \
306 xmlif/test/result-ps \
307 xmlif/test/result-foo \
308 xmlif/test/result-baz \
309 xmlif/test/result-bar
311 nobase_pkgdata_DATA = $(baseformats) \
312 $(passivetexformats) \
316 EXTRA_DIST = xmlto.spec \
319 $(passivetexformats) \
326 GEN_MANPAGE = FORMAT_DIR=$(top_srcdir)/format $(BASH) ./xmlto -o $(@D) man $<
327 TESTS_ENVIRONMENT = top_srcdir=$(top_srcdir) top_builddir=$(top_builddir)
328 TESTS = xmlif/test/run-test
329 CLEANFILES = $(dist_man1_MANS) \
330 xmlif/test/test-no-condition \
331 xmlif/test/test-unrelated-condition \
332 xmlif/test/test-html \
333 xmlif/test/test-pdf \
335 xmlif/test/test-foo \
336 xmlif/test/test-baz \
340 $(MAKE) $(AM_MAKEFLAGS) all-am
343 .SUFFIXES: .c .l .o .obj
344 am--refresh: Makefile
346 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
348 case '$(am__configure_deps)' in \
350 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
351 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
356 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
357 $(am__cd) $(top_srcdir) && \
358 $(AUTOMAKE) --gnu Makefile
360 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
363 echo ' $(SHELL) ./config.status'; \
364 $(SHELL) ./config.status;; \
366 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
367 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
370 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
371 $(SHELL) ./config.status --recheck
373 $(top_srcdir)/configure: $(am__configure_deps)
374 $(am__cd) $(srcdir) && $(AUTOCONF)
375 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
376 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
377 $(am__aclocal_m4_deps):
380 @if test ! -f $@; then rm -f stamp-h1; else :; fi
381 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
383 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
385 cd $(top_builddir) && $(SHELL) ./config.status config.h
386 $(srcdir)/config.h.in: $(am__configure_deps)
387 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
392 -rm -f config.h stamp-h1
393 xmlto: $(top_builddir)/config.status $(srcdir)/xmlto.in
394 cd $(top_builddir) && $(SHELL) ./config.status $@
395 xmlto.spec: $(top_builddir)/config.status $(srcdir)/xmlto.spec.in
396 cd $(top_builddir) && $(SHELL) ./config.status $@
397 install-binPROGRAMS: $(bin_PROGRAMS)
399 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
400 if test -n "$$list"; then \
401 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
402 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
404 for p in $$list; do echo "$$p $$p"; done | \
405 sed 's/$(EXEEXT)$$//' | \
406 while read p p1; do if test -f $$p; \
407 then echo "$$p"; echo "$$p"; else :; fi; \
409 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
410 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
411 sed 'N;N;N;s,\n, ,g' | \
412 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
413 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
414 if ($$2 == $$4) files[d] = files[d] " " $$1; \
415 else { print "f", $$3 "/" $$4, $$1; } } \
416 END { for (d in files) print "f", d, files[d] }' | \
417 while read type dir files; do \
418 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
419 test -z "$$files" || { \
420 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
421 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
425 uninstall-binPROGRAMS:
427 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
428 files=`for p in $$list; do echo "$$p"; done | \
429 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
430 -e 's/$$/$(EXEEXT)/' `; \
431 test -n "$$list" || exit 0; \
432 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
433 cd "$(DESTDIR)$(bindir)" && rm -f $$files
436 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
437 xmlif/$(am__dirstamp):
439 @: > xmlif/$(am__dirstamp)
440 xmlif/$(DEPDIR)/$(am__dirstamp):
441 @$(MKDIR_P) xmlif/$(DEPDIR)
442 @: > xmlif/$(DEPDIR)/$(am__dirstamp)
443 xmlif/xmlif.$(OBJEXT): xmlif/$(am__dirstamp) \
444 xmlif/$(DEPDIR)/$(am__dirstamp)
445 xmlif/xmlif$(EXEEXT): $(xmlif_xmlif_OBJECTS) $(xmlif_xmlif_DEPENDENCIES) $(EXTRA_xmlif_xmlif_DEPENDENCIES) xmlif/$(am__dirstamp)
446 @rm -f xmlif/xmlif$(EXEEXT)
447 $(LINK) $(xmlif_xmlif_OBJECTS) $(xmlif_xmlif_LDADD) $(LIBS)
448 install-binSCRIPTS: $(bin_SCRIPTS)
450 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
451 if test -n "$$list"; then \
452 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
453 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
455 for p in $$list; do \
456 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
457 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
459 sed -e 'p;s,.*/,,;n' \
461 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
462 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
463 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
464 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
465 if (++n[d] == $(am__install_max)) { \
466 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
467 else { print "f", d "/" $$4, $$1 } } \
468 END { for (d in files) print "f", d, files[d] }' | \
469 while read type dir files; do \
470 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
471 test -z "$$files" || { \
472 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
473 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
477 uninstall-binSCRIPTS:
479 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
480 files=`for p in $$list; do echo "$$p"; done | \
481 sed -e 's,.*/,,;$(transform)'`; \
482 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
486 -rm -f xmlif/*.$(OBJEXT)
491 @AMDEP_TRUE@@am__include@ @am__quote@xmlif/$(DEPDIR)/xmlif.Po@am__quote@
494 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
495 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
496 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
497 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
498 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
499 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
502 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
503 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
504 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
505 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
506 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
507 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
510 $(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE)
511 install-man1: $(dist_man1_MANS)
513 @list1='$(dist_man1_MANS)'; \
515 test -n "$(man1dir)" \
516 && test -n "`echo $$list1$$list2`" \
518 echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
519 $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
520 { for i in $$list1; do echo "$$i"; done; \
521 if test -n "$$list2"; then \
522 for i in $$list2; do echo "$$i"; done \
523 | sed -n '/\.1[a-z]*$$/p'; \
525 } | while read p; do \
526 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
527 echo "$$d$$p"; echo "$$p"; \
529 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
530 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
531 sed 'N;N;s,\n, ,g' | { \
532 list=; while read file base inst; do \
533 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
534 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
535 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
538 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
539 while read files; do \
540 test -z "$$files" || { \
541 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
542 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
547 @list='$(dist_man1_MANS)'; test -n "$(man1dir)" || exit 0; \
548 files=`{ for i in $$list; do echo "$$i"; done; \
549 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
550 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
551 dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
552 install-nobase_pkgdataDATA: $(nobase_pkgdata_DATA)
554 @list='$(nobase_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
555 if test -n "$$list"; then \
556 echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \
557 $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \
559 $(am__nobase_list) | while read dir files; do \
560 xfiles=; for file in $$files; do \
561 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
562 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
563 test -z "$$xfiles" || { \
564 test "x$$dir" = x. || { \
565 echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)/$$dir'"; \
566 $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)/$$dir"; }; \
567 echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(pkgdatadir)/$$dir'"; \
568 $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(pkgdatadir)/$$dir" || exit $$?; }; \
571 uninstall-nobase_pkgdataDATA:
573 @list='$(nobase_pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
574 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
575 dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir)
577 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
578 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
579 unique=`for i in $$list; do \
580 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
582 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
583 END { if (nonempty) { for (i in files) print i; }; }'`; \
587 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
588 $(TAGS_FILES) $(LISP)
591 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
592 unique=`for i in $$list; do \
593 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
595 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
596 END { if (nonempty) { for (i in files) print i; }; }'`; \
598 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
599 test -n "$$unique" || unique=$$empty_fix; \
600 if test $$# -gt 0; then \
601 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
604 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
609 CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
610 $(TAGS_FILES) $(LISP)
611 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
612 unique=`for i in $$list; do \
613 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
615 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
616 END { if (nonempty) { for (i in files) print i; }; }'`; \
617 test -z "$(CTAGS_ARGS)$$unique" \
618 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
622 here=`$(am__cd) $(top_builddir) && pwd` \
623 && $(am__cd) $(top_srcdir) \
624 && gtags -i $(GTAGS_ARGS) "$$here"
627 test ! -s cscope.files \
628 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
633 cscope.files: clean-cscope cscopelist
635 cscopelist: $(HEADERS) $(SOURCES) $(LISP)
636 list='$(SOURCES) $(HEADERS) $(LISP)'; \
637 case "$(srcdir)" in \
638 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
639 *) sdir=$(subdir)/$(srcdir) ;; \
641 for i in $$list; do \
642 if test -f "$$i"; then \
643 echo "$(subdir)/$$i"; \
647 done >> $(top_builddir)/cscope.files
650 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
651 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
653 check-TESTS: $(TESTS)
654 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
655 srcdir=$(srcdir); export srcdir; \
658 if test -n "$$list"; then \
659 for tst in $$list; do \
660 if test -f ./$$tst; then dir=./; \
661 elif test -f $$tst; then dir=; \
662 else dir="$(srcdir)/"; fi; \
663 if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
664 all=`expr $$all + 1`; \
665 case " $(XFAIL_TESTS) " in \
666 *[\ \ ]$$tst[\ \ ]*) \
667 xpass=`expr $$xpass + 1`; \
668 failed=`expr $$failed + 1`; \
669 col=$$red; res=XPASS; \
672 col=$$grn; res=PASS; \
675 elif test $$? -ne 77; then \
676 all=`expr $$all + 1`; \
677 case " $(XFAIL_TESTS) " in \
678 *[\ \ ]$$tst[\ \ ]*) \
679 xfail=`expr $$xfail + 1`; \
680 col=$$lgn; res=XFAIL; \
683 failed=`expr $$failed + 1`; \
684 col=$$red; res=FAIL; \
688 skip=`expr $$skip + 1`; \
689 col=$$blu; res=SKIP; \
691 echo "$${col}$$res$${std}: $$tst"; \
693 if test "$$all" -eq 1; then \
700 if test "$$failed" -eq 0; then \
701 if test "$$xfail" -eq 0; then \
702 banner="$$All$$all $$tests passed"; \
704 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
705 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
708 if test "$$xpass" -eq 0; then \
709 banner="$$failed of $$all $$tests failed"; \
711 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
712 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
717 if test "$$skip" -ne 0; then \
718 if test "$$skip" -eq 1; then \
719 skipped="($$skip test was not run)"; \
721 skipped="($$skip tests were not run)"; \
723 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
724 dashes="$$skipped"; \
727 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
728 report="Please report to $(PACKAGE_BUGREPORT)"; \
729 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
732 dashes=`echo "$$dashes" | sed s/./=/g`; \
733 if test "$$failed" -eq 0; then \
738 echo "$${col}$$dashes$${std}"; \
739 echo "$${col}$$banner$${std}"; \
740 test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
741 test -z "$$report" || echo "$${col}$$report$${std}"; \
742 echo "$${col}$$dashes$${std}"; \
743 test "$$failed" -eq 0; \
746 distdir: $(DISTFILES)
747 @list='$(MANS)'; if test -n "$$list"; then \
748 list=`for p in $$list; do \
749 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
750 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
751 if test -n "$$list" && \
752 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
753 echo "error: found man pages containing the 'missing help2man' replacement text:" >&2; \
754 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
755 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
756 echo " typically 'make maintainer-clean' will remove them" >&2; \
760 $(am__remove_distdir)
761 test -d "$(distdir)" || mkdir "$(distdir)"
762 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
763 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
764 list='$(DISTFILES)'; \
765 dist_files=`for file in $$list; do echo $$file; done | \
766 sed -e "s|^$$srcdirstrip/||;t" \
767 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
768 case $$dist_files in \
769 */*) $(MKDIR_P) `echo "$$dist_files" | \
770 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
773 for file in $$dist_files; do \
774 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
775 if test -d $$d/$$file; then \
776 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
777 if test -d "$(distdir)/$$file"; then \
778 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
780 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
781 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
782 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
784 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
786 test -f "$(distdir)/$$file" \
787 || cp -p $$d/$$file "$(distdir)/$$file" \
791 -test -n "$(am__skip_mode_fix)" \
792 || find "$(distdir)" -type d ! -perm -755 \
793 -exec chmod u+rwx,go+rx {} \; -o \
794 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
795 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
796 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
797 || chmod -R a+r "$(distdir)"
799 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
800 $(am__post_remove_distdir)
802 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
803 $(am__post_remove_distdir)
806 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
807 $(am__post_remove_distdir)
810 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
811 $(am__post_remove_distdir)
814 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
815 $(am__post_remove_distdir)
818 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
819 $(am__post_remove_distdir)
822 -rm -f $(distdir).zip
823 zip -rq $(distdir).zip $(distdir)
824 $(am__post_remove_distdir)
827 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
828 $(am__post_remove_distdir)
830 # This target untars the dist file and tries a VPATH configuration. Then
831 # it guarantees that the distribution is self-contained by making another
834 case '$(DIST_ARCHIVES)' in \
836 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
838 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
840 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
842 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
844 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
846 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
848 unzip $(distdir).zip ;;\
850 chmod -R a-w $(distdir); chmod u+w $(distdir)
851 mkdir $(distdir)/_build
852 mkdir $(distdir)/_inst
854 test -d $(distdir)/_build || exit 0; \
855 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
856 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
858 && $(am__cd) $(distdir)/_build \
859 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
860 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
861 $(DISTCHECK_CONFIGURE_FLAGS) \
862 && $(MAKE) $(AM_MAKEFLAGS) \
863 && $(MAKE) $(AM_MAKEFLAGS) dvi \
864 && $(MAKE) $(AM_MAKEFLAGS) check \
865 && $(MAKE) $(AM_MAKEFLAGS) install \
866 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
867 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
868 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
870 && chmod -R a-w "$$dc_install_base" \
872 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
873 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
874 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
875 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
876 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
877 } || { rm -rf "$$dc_destdir"; exit 1; }) \
878 && rm -rf "$$dc_destdir" \
879 && $(MAKE) $(AM_MAKEFLAGS) dist \
880 && rm -rf $(DIST_ARCHIVES) \
881 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
884 $(am__post_remove_distdir)
885 @(echo "$(distdir) archives ready for distribution: "; \
886 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
887 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
889 @test -n '$(distuninstallcheck_dir)' || { \
890 echo 'ERROR: trying to run $@ with an empty' \
891 '$$(distuninstallcheck_dir)' >&2; \
894 $(am__cd) '$(distuninstallcheck_dir)' || { \
895 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
898 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
899 || { echo "ERROR: files left after uninstall:" ; \
900 if test -n "$(DESTDIR)"; then \
901 echo " (check DESTDIR support)"; \
903 $(distuninstallcheck_listfiles) ; \
905 distcleancheck: distclean
906 @if test '$(srcdir)' = . ; then \
907 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
910 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
911 || { echo "ERROR: files left in build directory after distclean:" ; \
912 $(distcleancheck_listfiles) ; \
915 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
917 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(MANS) $(DATA) config.h
919 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(pkgdatadir)"; do \
920 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
923 install-exec: install-exec-am
924 install-data: install-data-am
925 uninstall: uninstall-am
928 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
930 installcheck: installcheck-am
932 if test -z '$(STRIP)'; then \
933 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
934 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
937 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
938 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
939 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
944 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
947 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
948 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
949 -rm -f xmlif/$(DEPDIR)/$(am__dirstamp)
950 -rm -f xmlif/$(am__dirstamp)
952 maintainer-clean-generic:
953 @echo "This command is intended for maintainers to use"
954 @echo "it deletes files that may require special tools to rebuild."
958 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
960 distclean: distclean-am
961 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
962 -rm -rf xmlif/$(DEPDIR)
964 distclean-am: clean-am distclean-compile distclean-generic \
965 distclean-hdr distclean-tags
979 install-data-am: install-man install-nobase_pkgdataDATA
981 install-dvi: install-dvi-am
985 install-exec-am: install-binPROGRAMS install-binSCRIPTS
987 install-html: install-html-am
991 install-info: install-info-am
995 install-man: install-man1
997 install-pdf: install-pdf-am
1001 install-ps: install-ps-am
1007 maintainer-clean: maintainer-clean-am
1008 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1009 -rm -rf $(top_srcdir)/autom4te.cache
1010 -rm -rf xmlif/$(DEPDIR)
1012 maintainer-clean-am: distclean-am maintainer-clean-generic
1014 mostlyclean: mostlyclean-am
1016 mostlyclean-am: mostlyclean-compile mostlyclean-generic
1026 uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS uninstall-man \
1027 uninstall-nobase_pkgdataDATA
1029 uninstall-man: uninstall-man1
1031 .MAKE: all check-am install-am install-strip
1033 .PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \
1034 clean clean-binPROGRAMS clean-cscope clean-generic cscope \
1035 cscopelist ctags dist dist-all dist-bzip2 dist-gzip dist-lzip \
1036 dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
1037 distclean-compile distclean-generic distclean-hdr \
1038 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1039 dvi-am html html-am info info-am install install-am \
1040 install-binPROGRAMS install-binSCRIPTS install-data \
1041 install-data-am install-dvi install-dvi-am install-exec \
1042 install-exec-am install-html install-html-am install-info \
1043 install-info-am install-man install-man1 \
1044 install-nobase_pkgdataDATA install-pdf install-pdf-am \
1045 install-ps install-ps-am install-strip installcheck \
1046 installcheck-am installdirs maintainer-clean \
1047 maintainer-clean-generic mostlyclean mostlyclean-compile \
1048 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
1049 uninstall-am uninstall-binPROGRAMS uninstall-binSCRIPTS \
1050 uninstall-man uninstall-man1 uninstall-nobase_pkgdataDATA
1052 man/man1/xmlto.1: doc/xmlto.xml ; $(GEN_MANPAGE)
1053 man/man1/xmlif.1: doc/xmlif.xml ; $(GEN_MANPAGE)
1056 cvs tag -c `echo V@VERSION@ | tr . _`
1058 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1059 # Otherwise a system limit (for SysV at least) may be exceeded.