## Process this file with automake to produce Makefile.in

styles = AMA.xml Ann.Biomed.Eng.xml Ann.Thorac.Surg.xml APA.xml Artif.Organs.xml authoryear-de.xml Biochem.Biophys.Res.Commun.xml Biochem.Pharmacol.xml Biomaterials.xml Br.J.Pharmacol.xml CHA-MC.xml Chicago.xml Eur.J.Pharmacol.xml Harvard.xml ifmbe_proceedings.xml J.Biol.Chem.xml J.Pharmacol.Exp.Ther.xml J.Tissue_Eng.Regen.Med.xml J.Vasc.Res.xml MLA.xml Murdoch.Law.xml Tissue_Eng.xml Turabian.xml Z.Geburtsh.Neonatol.xml citekey.xml bibtex-abbrev.xml bibtex-full.xml

installobjects = $(styles) schemas.xml

objects = $(styles) schemas.xml.in

noinst_DATA = schemas.xml

EXTRA_DIST = $(objects)

MOSTLYCLEANFILES=schemas.xml

all: $(installobjects)

schemas.xml: schemas.xml.in
	sed 's%<refdblib>%$(pkgdatadir)%' < $(srcdir)/schemas.xml.in > schemas.xml

install-data-local:
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/styles
	@for f in $(installobjects); do \
		$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(pkgdatadir)/styles/$$f; \
	done

