## Process this file with automake to produce Makefile.in
## $Id: Makefile.am,v 1.13 2004/01/21 07:23:00 wsourdeau Exp $

## Copyright (C) 2000-2001 Stichting LogReport Foundation LogReport@LogReport.org
## 
##     This program is free software; you can redistribute it and/or modify
##     it under the terms of the GNU General Public License as published by
##     the Free Software Foundation; either version 2 of the License, or
##     (at your option) any later version.
## 
##     This program is distributed in the hope that it will be useful,
##     but WITHOUT ANY WARRANTY; without even the implied warranty of
##     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##     GNU General Public License for more details.
## 
##     You should have received a copy of the GNU General Public License
##     along with this program (see COPYING); if not, check with
##     http://www.gnu.org/copyleft/gpl.html or write to the Free Software 
##     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.

include $(top_srcdir)/include/rules.mk

BUILT_SOURCES = \
	ldsml.dbx \
	lrcml.dbx \
	lrcsml.dbx \
	lrsml.dbx \
	lrml.dbx \
	lire-desc.dbx \
	lire-types.dbx \
	$(LIRE_DTDS)

LIRE_DTDS = \
	ldsml.dtd \
	lrcml.dtd \
	lrcsml.dtd \
	lrml.dtd \
	lrsml.dtd \
	lire-desc.mod \
	lire-types.mod

OLD_DTDS = lrml-1.0.dtd lrsml-1.0.dtd lire-desc-1.0.mod

LIRE_CATALOGS = catalog catalog.xml

XML_FILES = \
	ldsml.xml \
	lrcml.xml \
	lrcsml.xml \
	lrml.xml \
	lrsml.xml \
	lire-desc.xml \
	lire-types.xml

SUFFIXES = .xml .dbx .dtd .mod

.xml.dbx:
	XML_CATALOG_FILES=$(top_srcdir)/catalog.xml $(XSLTPROC) --nonet $(top_srcdir)/all/lib/xml/stylesheet/xsl/make-dtddoc.xsl $< > $@

.xml.dtd:
	XML_CATALOG_FILES=$(top_srcdir)/catalog.xml $(XSLTPROC) --nonet $(top_srcdir)/all/lib/xml/stylesheet/xsl/make-dtd.xsl $< > $@

.xml.mod:
	XML_CATALOG_FILES=$(top_srcdir)/catalog.xml $(XSLTPROC) --nonet $(top_srcdir)/all/lib/xml/stylesheet/xsl/make-dtd.xsl $< > $@

alllibxmldtddir = $(datadir)/$(PACKAGE)/xml/dtd

alllibxmldtd_DATA = $(LIRE_DTDS) $(LIRE_CATALOGS) $(OLD_DTDS)

MAINTAINERCLEANFILES = $(BUILT_SOURCES)

EXTRA_DIST = $(LIRE_CATALOGS) $(BUILT_SOURCES) $(XML_FILES) $(OLD_DTDS)

# Dummy depency because somehow GNU make wants to create a catalog.mod
# from catalog.xml to produce catalog ???
catalog : catalog.xml
	@true


syntax highlighted by Code2HTML, v. 0.9.1