# $Id: Makefile,v 1.10 2003/12/17 13:05:05 dom Exp $ W=../../.. SWAP=$(W)/2000/10/swap PYTHON=/usr/bin/python CWM=$(PYTHON) $(SWAP)/cwm.py XSLTPROC=/Users/karl/bin/xsltproc TR=$(W)/2002/01/tr-automation/tr.rdf MATVOCAB=$(W)/2002/05/matrix/vocab.rdf all: ../../TheMatrix.html $(SWAP): (cd $(W)/.. ; cvs co WWW/2000/10/swap) $(TR): (cd $(W)/.. ; cvs co WWW/2002/01/tr-automation/tr.rdf) $(MATVOCAB): (cd $(W)/.. ; cvs co WWW/2002/05/matrix/vocab.rdf) ../../TheMatrix.rdf: matrix-base.n3 $(TR) merge-tr-matrix.n3 filter-matrixdata.n3 $(SWAP) $(CWM) merge-tr-matrix.n3 --think matrix-base.n3 --rdf $(TR) --filter=filter-matrixdata.n3 --rdf > $@ ../../TheMatrix.html: ../../TheMatrix.rdf toMatrix.xsl $(MATVOCAB) $(XSLTPROC) toMatrix.xsl ../../TheMatrix.rdf > $@ install: ../../TheMatrix.html ../../TheMatrix.rdf @for target in ../../TheMatrix.html ../../TheMatrix.rdf ; do echo "Installing " $$target ; cd `dirname "$$target"` && cvs ci -m "updated" "`basename $$target`" && cd - ; done