# $Id: Makefile,v 1.3 2000/05/04 19:35:09 connolly Exp $

#@@ see also: http://www.w3.org/2000/04/schema_hack/

# external stuff; i.e. stuff outside this directory:


PERL=perl # see http://www.perl.com ; needs perl 5

# henry's schema validator; see http://dev.w3.org/cvsweb/xmlschema/
#XSV=xsv 
XSV=/tux/u/ht/bin/xsv

DTD2SCHEMA=$(PERL) ../../../2000/04/schema_hack/dtd2xsd.pl

test: test-html test-html-smil test-p3p

test-html-smil: h+s.html html.xsd smil-animation.xsd
	$(XSV) h+s.html

test-html: html.xsd my.html
	$(XSV) my.html html.xsd

test-p3p: p3p_ex3_1.xml p3p.xsd
	$(XSV) p3p_ex3_1.xml p3p.xsd

html.xsd: html.dtd
	$(DTD2SCHEMA) -ns http://www.w3.org/1999/xhtml <html.dtd >$@

#smil.xsd: smil.dtd
#	$(DTD2SCHEMA) -ns foo:FIXME <smil.dtd >$@

smil-animation.xsd: smil-animation.dtd
	$(DTD2SCHEMA) -ns http://www.w3.org/2000/TR/smil-animation10 <smil-animation.dtd >$@

#p3p.xsd: dtd2schema p3p.dtd
#	$(PERL) dtd2schema http://www.w3.org/2000/P3Pv1 <p3p.dtd >$@

