]> xenbits.xensource.com Git - xen.git/commitdiff
tools/xenstore: Only create SBINDIR if it is to be used
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Oct 2014 11:02:09 +0000 (12:02 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 8 Oct 2014 12:38:23 +0000 (13:38 +0100)
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/Makefile

index cb4ab427f5d42ea25ea4f4867123f7a7c92b269b..bff9b25725efc16602f06b9ca9e7e8d0bf8bfdeb 100644 (file)
@@ -126,10 +126,10 @@ tarball: clean
 .PHONY: install
 install: all
        $(INSTALL_DIR) $(DESTDIR)$(BINDIR)
-       $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
        $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)
        $(INSTALL_DIR) $(DESTDIR)$(INCLUDEDIR)/xenstore-compat
 ifeq ($(XENSTORE_XENSTORED),y)
+       $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
        $(INSTALL_DIR) $(DESTDIR)$(XEN_LIB_STORED)
        $(INSTALL_PROG) xenstored $(DESTDIR)$(SBINDIR)
 endif