# Makefile.in generated by automake 1.8.5 from Makefile.am.
# @configure_input@

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
	$(top_srcdir)/include/rules.mk TODO
subdir = doc
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
	html-recursive info-recursive install-data-recursive \
	install-exec-recursive install-info-recursive \
	install-recursive installcheck-recursive installdirs-recursive \
	pdf-recursive ps-recursive uninstall-info-recursive \
	uninstall-recursive
am__installdirs = "$(DESTDIR)$(docdir)"
docDATA_INSTALL = $(INSTALL_DATA)
DATA = $(doc_DATA)
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
CYGPATH_W = @CYGPATH_W@
DBKDSSSLPRINT = @DBKDSSSLPRINT@
DBKXSLHTML = @DBKXSLHTML@
DBKXSLHTMLNOCHUNK = @DBKXSLHTMLNOCHUNK@
DBK_XML_DTD = @DBK_XML_DTD@
DEFS = @DEFS@
DIA = @DIA@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
GHOSTSCRIPT = @GHOSTSCRIPT@
GZIP = @GZIP@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTALL_TIMEZONE_FALSE = @INSTALL_TIMEZONE_FALSE@
INSTALL_TIMEZONE_TRUE = @INSTALL_TIMEZONE_TRUE@
JADE = @JADE@
LAMBDA = @LAMBDA@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LN_S = @LN_S@
LOGGER = @LOGGER@
LR_ARCHIVEDIR = @LR_ARCHIVEDIR@
LR_PERL5LIBDIR = @LR_PERL5LIBDIR@
LR_SPOOLDIR = @LR_SPOOLDIR@
LTLIBOBJS = @LTLIBOBJS@
LYNX = @LYNX@
MAKEINFO = @MAKEINFO@
MSGFMT = @MSGFMT@
MSGMERGE = @MSGMERGE@
ODVIPS = @ODVIPS@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
PDFJADETEX = @PDFJADETEX@
PERL = @PERL@
PLOTICUS = @PLOTICUS@
POD2MAN = @POD2MAN@
PS2PDF = @PS2PDF@
SENDMAIL = @SENDMAIL@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
TAI64NLOCAL = @TAI64NLOCAL@
TAR = @TAR@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
XMLCATALOG = @XMLCATALOG@
XMLLINT = @XMLLINT@
XSLTPROC = @XSLTPROC@
am__leading_dot = @am__leading_dot@
bindir = @bindir@
build_alias = @build_alias@
datadir = @datadir@
datarootdir = @datarootdir@
docdir = $(datadir)/doc/$(PACKAGE)
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
MAX_JADE_ERRORS = 10
convertorsdir = $(libexecdir)/$(PACKAGE)/convertors
pluginsdir = $(sysconfdir)/$(PACKAGE)/plugins
schemadir = $(datadir)/$(PACKAGE)/schemas
templatesdir = $(datadir)/$(PACKAGE)/templates
XML_DCL = $(top_srcdir)/all/lib/xml/xml.dcl
SUFFIXES = .pod .1 .7 .pm .3pm .dbx .xml .dia .eps .in
PERL2MAN1_RULE = \
	$(POD2MAN) --section=1 --center="LogReport's Lire Documentation" --release='Lire $(VERSION)' $? $@

PERL2MAN3PM_RULE = \
	$(POD2MAN) --section=3pm --center="LogReport's Lire Documentation" --release='Lire $(VERSION)' $? $@

PERL2MAN7_RULE = \
	$(POD2MAN) --section=7 --center="LogReport's Lire Documentation" --release='Lire $(VERSION)' $? $@

XML2HTML_RULE = \
	mysrc=`cd $(srcdir) && pwd`; \
	mytop=`cd $(top_srcdir) && pwd`; \
	outdir=`dirname $@`; \
	src=$$mysrc/`basename $<`; \
	$(mkinstalldirs) $$outdir && \
	cd $$outdir && \
	rm -f *.htm* && \
	epss=`for i in $^; do echo $$i; done | grep '\.eps$$'`; \
	for i in $$epss; do \
	    png=`basename $$i .eps`.png; \
	    $(PERL) $(top_builddir)/all/script/lr_gsconvert --resize=576,576 pngalpha $$i $$png; \
	done; \
	XML_CATALOG_FILES=$$mytop/catalog.xml $(XSLTPROC) --nonet --param 'graphic.default.extension' '"png"' $(DBKXSLHTML) $$src

HTML2TXT_RULE = \
XML_CATALOG_FILES=$(top_srcdir)/catalog.xml $(XSLTPROC) --nonet $(DBKXSLHTMLNOCHUNK) $< > tmp.html && \
$(LYNX) -nolist -dump tmp.html > $@ && \
rm tmp.html

XML2PDF_RULE = \
	base=`basename $@ .pdf`; \
	epss=`for i in $^; do echo $$i; done | grep '\.eps$$'`; \
	pdfs=""; \
	for i in $$epss; do \
	    pdf=`basename $$i .eps`.pdf; \
	    $(PERL) $(top_builddir)/all/script/lr_gsconvert --resize=396,396 pdfwrite $$i $$pdf; \
	    pdfs="$$pdfs $$pdf"; \
	done; \
	$(JADE) -E$(MAX_JADE_ERRORS) -t tex -d $(DBKDSSSLPRINT) $(XML_DCL) $< && \
	i=0; \
	while test $$i -lt 3; do \
	    if $(PDFJADETEX) -interaction=batchmode $$base.tex > /dev/null; \
	    then \
		if grep 'undefined references\| [Rr]erun' $$base.log > /dev/null; \
		then  :;  else break; fi; \
	    else \
		grep '^! ' $$base.log; \
		exit 1; \
	    fi; \
        i=`expr $$i + 1`; \
	done; \
	rm -f $$base.log $$base.out $$base.aux $$base.tex $$pdfs

DIA2EPS_RULE = \
	$(DIA) --nosplash -e $@ $<

DIA2PNG_RULE = \
	$(DIA) --nosplash -e $@ $<

PERLMODULES_INSTALL_RULE = \
	@for p in $(perlmodules) ; do \
	    f="`echo $$p | sed -e 's|^.*/lib/||'`" ; \
	    d="`echo $$f | sed -e 's|\(^.*\)/.*|\1|'`" ; \
	    if test ! -d $(DESTDIR)$(LR_PERL5LIBDIR)/$$d; then \
		$(mkinstalldirs) $(DESTDIR)$(LR_PERL5LIBDIR)/$$d ; \
	    fi ; \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(LR_PERL5LIBDIR)/$$f"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(LR_PERL5LIBDIR)/$$f ; \
	done

PERLMODULES_UNINSTALL_RULE = \
	@for p in $(perlmodules); do \
	  f="`echo $$p | sed -e 's|^.*/lib/||'`"; \
	  echo " rm -f $(DESTDIR)$(LR_PERL5LIBDIR)/$$f"; \
	  rm -f $(DESTDIR)$(DESTDIR)$(LR_PERL5LIBDIR)/$$f; \
	done


# html subdirs are handled in this Makefile, examples/ has its own Makefile.am
SUBDIRS = examples

# HTML documentation uses *-local hooks
#   target goes into all-local
#   install goes into install-data-local
#   uninstall goes into uninstinstal-local
#   maintainer-clean-local must erase the HTML directories
#   dist-hook must copy the documentation to the source tree
html_doc = user-manual/index.html \
	   dev-manual/index.html 

html_doc_dirs = user-manual dev-manual
manuals = user-manual.pdf user-manual.txt \
	dev-manual.pdf dev-manual.txt

changelogs = ChangeLog.2000.gz ChangeLog.2001.gz ChangeLog.2002.gz \
	ChangeLog.2003.gz ChangeLog.2004.gz ChangeLog.2005.gz

doc_DATA = $(manuals) $(changelogs) BUGS
xml_source = user-manual.dbx dev-manual.dbx
XML_FILES = $(xml_source)
image_source = flow-analysis.dia \
		flow-generation.dia \
		flow-normalisation.dia \
		flow-overview.dia \
		flow-report.dia \
		flow-xslt.dia \
		lire-dlf-converters.dia 

dev_manual_eps_imgs = \
                flow-analysis.eps \
		flow-generation.eps \
		flow-normalisation.eps \
		flow-overview.eps \
		flow-report.eps \
		flow-xslt.eps \
		lire-dlf-converters.eps

dev_manual_png_imgs = \
                dev-manual/flow-analysis.png \
                dev-manual/flow-generation.png \
                dev-manual/flow-normalisation.png \
                dev-manual/flow-overview.png \
                dev-manual/flow-report.png \
                dev-manual/flow-xslt.png \
                dev-manual/lire-dlf-converters.png

dtd_infos = \
	$(top_srcdir)/all/lib/xml/dtd/ldsml.dbx \
	$(top_srcdir)/all/lib/xml/dtd/lire-desc.dbx \
	$(top_srcdir)/all/lib/xml/dtd/lire-types.dbx \
	$(top_srcdir)/all/lib/xml/dtd/lrcml.dbx \
	$(top_srcdir)/all/lib/xml/dtd/lrcsml.dbx \
	$(top_srcdir)/all/lib/xml/dtd/lrml.dbx \
	$(top_srcdir)/all/lib/xml/dtd/lrsml.dbx

EXTRA_DIST = \
	TODO \
	refactoring.txt \
	$(doc_DATA)  \
	$(xml_source) $(image_source) $(dev_manual_png_imgs) \
        $(dev_manual_eps_imgs) catalog lire.ent

MAINTAINERCLEANFILES = $(manuals)
all: all-recursive

.SUFFIXES:
.SUFFIXES: .pod .1 .7 .pm .3pm .dbx .xml .dia .eps .in .png
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/include/rules.mk $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  doc/Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  doc/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
uninstall-info-am:
install-docDATA: $(doc_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
	@list='$(doc_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
	  $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
	done

uninstall-docDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(doc_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
	  rm -f "$(DESTDIR)$(docdir)/$$f"; \
	done

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
	@set fnord $$MAKEFLAGS; amf=$$2; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $$MAKEFLAGS; amf=$$2; \
	dot_seen=no; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	rev="$$rev ."; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done
ctags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
	done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test ! -f $$subdir/TAGS || \
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	$(mkdir_p) $(distdir)/../include $(distdir)/dev-manual
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -d "$(distdir)/$$subdir" \
	    || mkdir "$(distdir)/$$subdir" \
	    || exit 1; \
	    (cd $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="../$(top_distdir)" \
	        distdir="../$(distdir)/$$subdir" \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-hook
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) check-local
check: check-recursive
all-am: Makefile $(DATA) all-local
installdirs: installdirs-recursive
installdirs-am:
	for dir in "$(DESTDIR)$(docdir)"; do \
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
	done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-recursive

clean-am: clean-generic mostlyclean-am

distclean: distclean-recursive
	-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

info: info-recursive

info-am:

install-data-am: install-data-local install-docDATA

install-exec-am:

install-info: install-info-recursive

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic \
	maintainer-clean-local

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-generic

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-docDATA uninstall-info-am uninstall-local

uninstall-info: uninstall-info-recursive

.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local check \
	check-am check-local clean clean-generic clean-recursive ctags \
	ctags-recursive distclean distclean-generic \
	distclean-recursive distclean-tags distdir dvi dvi-am html \
	html-am info info-am install install-am install-data \
	install-data-am install-data-local install-docDATA \
	install-exec install-exec-am install-info install-info-am \
	install-man install-strip installcheck installcheck-am \
	installdirs installdirs-am maintainer-clean \
	maintainer-clean-generic maintainer-clean-local \
	maintainer-clean-recursive mostlyclean mostlyclean-generic \
	mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
	uninstall uninstall-am uninstall-docDATA uninstall-info-am \
	uninstall-local


.pm.3pm:
	$(PERL2MAN3PM_RULE)

.pod.1:
	$(PERL2MAN1_RULE)

.pod.7:
	$(PERL2MAN7_RULE)

.in.1:
	$(PERL2MAN1_RULE)

.dia.eps:
	$(DIA2EPS_RULE)

.dia.png:
	$(DIA2PNG_RULE)

check-local: check-xml

# We have to work with the fact that xmllint doesn't
# give an error when validation fails. It exits with
# non-zero status only when the file isn't well-formed

# We have to test for either srcdir/$f or $f : lire.xml
# exists in . only.
#
check-xml: $(XML_FILES)
	@if test -z "$(XML_FILES)"; \
	then \
	    echo No XML files to validate; \
	else \
	    for f in $(XML_FILES); \
	    do \
		echo -n Checking $$f...; \
                test -f $(srcdir)/$$f && file=$(srcdir)/$$f || file=$$f; \
		SGML_CATALOG_FILES="$(top_builddir)/catalog:$(top_srcdir)/all/lib/xml/dtd/catalog" $(XMLLINT) --catalogs --noout --valid $$file 2> xmllint.error; \
		if test -s xmllint.error; \
		then \
		    echo failed; \
		    cat xmllint.error; \
		    rm -f xmllint.error; \
		    exit 1; \
		else \
		    echo ok; \
		    rm -f xmllint.error; \
		fi; \
	    done; \
	fi

$(dtd_infos)/%:
	cd doc && $(MAKE) $*

$(html_doc_dirs):
	mkdir -p $@

dev-manual/index.html: dev-manual.dbx $(dtd_infos) $(dev_manual_png_imgs)
	$(XML2HTML_RULE)

dev-manual.pdf: dev-manual.dbx $(dtd_infos) $(dev_manual_eps_imgs)
	$(XML2PDF_RULE)

dev-manual.txt: dev-manual.dbx $(dtd_infos)
	$(HTML2TXT_RULE)

dev-manual/flow-analysis.png: flow-analysis.dia
	$(DIA2PNG_RULE)

dev-manual/flow-generation.png: flow-generation.dia
	$(DIA2PNG_RULE)

dev-manual/flow-normalisation.png: flow-normalisation.dia
	$(DIA2PNG_RULE)

dev-manual/flow-overview.png: flow-overview.dia
	$(DIA2PNG_RULE)

dev-manual/flow-report.png: flow-report.dia
	$(DIA2PNG_RULE)

dev-manual/flow-xslt.png: flow-xslt.dia
	$(DIA2PNG_RULE)

dev-manual/lire-dlf-converters.png: lire-dlf-converters.dia
	$(DIA2PNG_RULE)

user-manual/index.html: user-manual.dbx
	$(XML2HTML_RULE)

user-manual.pdf: user-manual.dbx
	$(XML2PDF_RULE)

user-manual.txt: user-manual.dbx
	$(HTML2TXT_RULE)

# AutoMake extensions do handle HTML documentation in chunks
all-local: $(html_doc_dirs) $(html_doc)

install-data-local : $(html_doc)
	for i in $(html_doc); do \
	    dir=`dirname $$i`; \
	    $(mkinstalldirs) $(DESTDIR)$(docdir)/$$dir; \
	    cp $(srcdir)/$$dir/* $(DESTDIR)$(docdir)/$$dir; \
	done

uninstall-local:
	-for i in $(html_doc); do \
	    dir=`dirname $$i`; \
	    for f in $(srcdir)/$$dir/*; do \
		file=`basename $$f`; \
		rm -f $(DESTDIR)$(docdir)/$$dir/$$file; \
	    done; \
	    rmdir $(DESTDIR)$(docdir)/$$dir; \
	done

maintainer-clean-local :
	-for i in $(html_doc); do \
	    dir=`dirname $$i`; \
	    rm -f $(srcdir)/$$dir/*; \
	    rmdir $(srcdir)/$$dir; \
	done

dist-hook : $(html_doc)
	for i in $(html_doc); do \
	    dir=`dirname $$i`; \
	    $(mkinstalldirs) $(distdir)/$$dir; \
	    cp $(srcdir)/$$dir/*.html $(distdir)/$$dir; \
	done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:


syntax highlighted by Code2HTML, v. 0.9.1