aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:35:02 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-22 14:35:02 +0000
commit93e3de7b940428c3c66c6340c621a3b92c14cff6 (patch)
tree3fea73c58d2bb41e430636efcde7216fa84fd12a /tools/misc/Makefile
parent93a029ac74a0f497b020e03d066594ab0108bb9c (diff)
downloadxen-93e3de7b940428c3c66c6340c621a3b92c14cff6.tar.gz
xen-93e3de7b940428c3c66c6340c621a3b92c14cff6.tar.bz2
xen-93e3de7b940428c3c66c6340c621a3b92c14cff6.zip
Add SBINDIR. Use it always.
Signed-off-by: Bastian Blank <waldi@debian.org>
Diffstat (limited to 'tools/misc/Makefile')
-rw-r--r--tools/misc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/misc/Makefile b/tools/misc/Makefile
index d4bde6be97..62f2acf5f0 100644
--- a/tools/misc/Makefile
+++ b/tools/misc/Makefile
@@ -30,9 +30,9 @@ build: $(TARGETS)
.PHONY: install
install: build
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
- [ -d $(DESTDIR)/usr/sbin ] || $(INSTALL_DIR) $(DESTDIR)/usr/sbin
+ $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
$(INSTALL_PROG) $(INSTALL_BIN) $(DESTDIR)$(BINDIR)
- $(INSTALL_PROG) $(INSTALL_SBIN) $(DESTDIR)/usr/sbin
+ $(INSTALL_PROG) $(INSTALL_SBIN) $(DESTDIR)$(SBINDIR)
set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d install-recurse; done
.PHONY: clean