From: Adam Dickmeiss Date: Mon, 16 Jun 2014 11:37:45 +0000 (+0200) Subject: Add make install rule X-Git-Tag: v0.1~4 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=18cfda880d402e1df077f8e4521ede2546fde2ca;p=mp-xquery-moved-to-github.git Add make install rule --- diff --git a/src/Makefile b/src/Makefile index f6f5061..65065a1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -21,6 +21,10 @@ tst: tst.o $(MP_SO): metaproxy_filter_xquery.o $(CXX) -shared $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(MP_LIBS) $(ZORBA_LIBS) +install: $(MP_SO) + mkdir -p $(DESTDIR)$(libdir)/mp-xquery + cp $(MP_SO) $(DESTDIR)$(libdir)/mp-xquery + clean: rm -f *.o tst $(MP_SO)