From: Adam Dickmeiss Date: Tue, 18 Aug 2015 12:41:45 +0000 (+0000) Subject: Use prefix in patch of config-sparql.xml X-Git-Tag: v0.7~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=dabe9828cfa36b1bd7f6904bec2a9cc093811214;p=mp-sparql-moved-to-github.git Use prefix in patch of config-sparql.xml --- diff --git a/Makefile b/Makefile index 023f720..ba748f6 100644 --- a/Makefile +++ b/Makefile @@ -20,9 +20,9 @@ install: mkdir -p $(DESTDIR)$(pkgdatadir)/bibframe cp bibframe/cql2pqf.txt bibframe/*.xml $(DESTDIR)$(pkgdatadir)/bibframe if test -d /usr/lib64 ; then \ - sed 's@@/usr/lib64/metaproxy6/modules@' $(DESTDIR)$(pkgdatadir)/bibframe/config-sparql.xml; \ + sed "s@@$(prefix)/lib64/metaproxy6/modules@" $(DESTDIR)$(pkgdatadir)/bibframe/config-sparql.xml; \ else \ - sed 's@@/usr/lib/metaproxy6/modules@' $(DESTDIR)$(pkgdatadir)/bibframe/config-sparql.xml; \ + sed "s@@$(prefix)/lib/metaproxy6/modules@" $(DESTDIR)$(pkgdatadir)/bibframe/config-sparql.xml; \ fi for d in $(SUBDIRS); do \ $(MAKE) -C $$d $@; \