Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 512 Bytes
# Run the emblem2rdf pipeline
# Timestamp: <2017-06-21 16:31:08 maus>
TEMPDIR := /tmp
SOURCE := $(TEMPDIR)/records.xml
TARGET := $(TEMPDIR)/emblem
%.nt: %.rdf
rapper -q -i rdfxml -o ntriples $< > $(basename $<).nt
all: $(TARGET).nt
$(TARGET).rdf: $(SOURCE)
calabash -i $(SOURCE) -o result=$(TARGET).rdf src/xproc/emblem2rdf.xpl emblems=$(TARGET)
python2 ~/bin/ -l -s embl -m emblem -o $(SOURCE)
.PHONY: clean
rm -f $(TARGET).*
rm -f $(TARGET)/*
You can’t perform that action at this time.