ia64/xen-unstable

diff tools/xcutils/Makefile @ 16899:221b867ee084

Add PRIVATE_BINDIR. Use it.

Signed-off-by: Bastian Blank <waldi@debian.org>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Jan 26 14:42:03 2008 +0000 (2008-01-26)
parents b9004e222fde
children ddf454872de4
line diff
     1.1 --- a/tools/xcutils/Makefile	Sat Jan 26 14:41:39 2008 +0000
     1.2 +++ b/tools/xcutils/Makefile	Sat Jan 26 14:42:03 2008 +0000
     1.3 @@ -11,8 +11,6 @@
     1.4  XEN_ROOT	= ../..
     1.5  include $(XEN_ROOT)/tools/Rules.mk
     1.6  
     1.7 -PROGRAMS_INSTALL_DIR = $(LIBDIR)/xen/bin
     1.8 -
     1.9  INCLUDES += -I $(XEN_LIBXC) -I $(XEN_XENSTORE) -I$(XEN_INCLUDE)
    1.10  
    1.11  CFLAGS += -Werror
    1.12 @@ -37,9 +35,8 @@ build: $(PROGRAMS)
    1.13  
    1.14  .PHONY: install
    1.15  install: build
    1.16 -	[ -d $(DESTDIR)$(PROGRAMS_INSTALL_DIR) ] || \
    1.17 -		$(INSTALL_DIR) $(DESTDIR)$(PROGRAMS_INSTALL_DIR)
    1.18 -	$(INSTALL_PROG) $(PROGRAMS) $(DESTDIR)$(PROGRAMS_INSTALL_DIR)
    1.19 +	$(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
    1.20 +	$(INSTALL_PROG) $(PROGRAMS) $(DESTDIR)$(PRIVATE_BINDIR)
    1.21  
    1.22  
    1.23  .PHONY: clean