From 18cfda880d402e1df077f8e4521ede2546fde2ca Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 16 Jun 2014 13:37:45 +0200 Subject: [PATCH] Add make install rule --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 1.7.10.4