From: Andrew Cooper Date: Tue, 7 Oct 2014 11:02:08 +0000 (+0100) Subject: tools/xenstore: Introduce clients-install target X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4215 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=be188d211d26afd872a43843563bfbe3923d5af9;p=xen.git tools/xenstore: Introduce clients-install target ...to match the existing 'clients' built target. This is particularly useful when rebuilding the xenstore clients separately for a non-dom0 environment. Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell --- diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile index 563abd486f..cb4ab427f5 100644 --- a/tools/xenstore/Makefile +++ b/tools/xenstore/Makefile @@ -150,6 +150,14 @@ endif ln -sf xenstore-compat/xs.h $(DESTDIR)$(INCLUDEDIR)/xs.h ln -sf xenstore-compat/xs_lib.h $(DESTDIR)$(INCLUDEDIR)/xs_lib.h +.PHONY: clients-install +clients-install: clients + $(INSTALL_DIR) $(DESTDIR)$(BINDIR) + $(INSTALL_PROG) xenstore $(DESTDIR)$(BINDIR) + set -e ; for c in $(CLIENTS) ; do \ + ln -f $(DESTDIR)$(BINDIR)/xenstore $(DESTDIR)$(BINDIR)/$${c} ; \ + done + -include $(DEPS) # never delete any intermediate files.