# $Id: Makefile,v 1.3 2000/11/07 15:29:56 connolly Exp $

PERL=perl

PYTHON=python

N3TORDF=../n3/notation3.py

include XSLT.mak

.SUFFIXES: .n3 .rdf

.n3.rdf:
	$(PYTHON) $(N3TORDF) < $< >,tmp
	$(XSLT) ,tmp rdfnorm.xsl $@


itin2000-11.html: itin2000-11.rdf itin2html.xsl
	$(XSLT) itin2000-11.rdf itin2html.xsl $@

itin2000-11.rdf: itin2000-11.n3 $(N3TORDF) rdfnorm.xsl

itin2000-10.html: itin2000-10.rdf itin2html.xsl
	$(XSLT) itin2000-10.rdf itin2html.xsl $@

itin2000-10.rdf: itin2000-10.txt $(N3TORDF) rdfnorm.xsl
	$(PYTHON) $(N3TORDF) < itin2000-10.txt >,tmp
	$(XSLT) ,tmp rdfnorm.xsl $@

datebook-all.html: datebook-all.xml datebook2html.xsl
	$(XSLT) datebook-all.xml datebook2html.xsl $@

#datebook-all.xml:
#@@	$(PERL) toXML.pl 0000-00-00 9999-99-99 >$@

datebook-all.xml: DatebookDB.pdb toXML.pl
	$(PERL) toXML.pl 2000-07-01 2000-10-31 >$@ #@@

