Makefile
744 Bytes
# $Id: Makefile,v 1.1 2001/05/23 19:41:42 connolly Exp $
W=../..
# Dan Connolly's process diagram stuff
PD=$W/2001/02pd/
include $(PD)XSLT.mak
include $(PD)GVDOT.mak
PYTHON=python2
CWM=$W/2000/10/swap/cwm.py
XMLWF=xmlwf
MKDIR=mkdir
.SUFFIXES: .rdf .n3
.n3.rdf:
$(PYTHON) $(CWM) -n3 $< style.n3 -think -purge -bySubject -rdf > $@
.rdf.dot:
$(XSLT) $< $(PD)/rdf2dot.xsl $@
all: example-fig.dot example-fig.png example-fig.svg example-fig.ps
example-fig.rdf: example-fig.n3 style.n3 $(PD)/rdf2dot.xsl
example-fig.n3: example.rdf
$(MKDIR) -p nrm
$(XMLWF) -d nrm example.rdf
$(PYTHON) $(CWM) -rdf nrm/example.rdf -n3 >$@
clean:
$(RM) -f example-fig.n3 example-fig.dot example-fig.rdf example-fig.png example-fig.svg example-fig.ps