Permalink
Browse files

Makefile angepasst

  • Loading branch information...
dmj committed Jun 21, 2017
1 parent 802f1da commit c22e69df2ad51e20bcdb573043cbb30012d54ebd
Showing with 2 additions and 6 deletions.
  1. +2 −6 Makefile
@@ -1,22 +1,20 @@
# Run the emblem2rdf pipeline
#
# Timestamp: <2017-03-16 13:54:35 maus>
# Timestamp: <2017-06-21 16:31:08 maus>
#
TEMPDIR := /tmp
ERRORS := $(TEMPDIR)/errors.log
SOURCE := $(TEMPDIR)/records.xml
TARGET := $(TEMPDIR)/emblem
BEACON := $(TEMPDIR)/beacon.rdf
%.nt: %.rdf
rapper -q -i rdfxml -o ntriples $< > $(basename $<).nt
all: $(TARGET).nt
$(TARGET).rdf: $(SOURCE)
calabash -i $(SOURCE) -o result=$(TARGET).rdf -o beacon=$(BEACON) src/xproc/emblem2rdf.xpl emblems=$(TARGET) errors=$(ERRORS)
calabash -i $(SOURCE) -o result=$(TARGET).rdf src/xproc/emblem2rdf.xpl emblems=$(TARGET)
$(SOURCE):
python2 ~/bin/pyoaiharvest.py -l http://oai.hab.de -s embl -m emblem -o $(SOURCE)
@@ -25,5 +23,3 @@ $(SOURCE):
clean:
rm -f $(TARGET).*
rm -f $(TARGET)/*
rm -f $(ERRORS)*
rm -f $(BEACON)

0 comments on commit c22e69d

Please sign in to comment.