debuggers.hg

view tools/hotplug/NetBSD/Makefile @ 20939:845d04d505d0

tools: Do not append trailing slash to XEN_ROOT in Makefiles

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 04 09:03:42 2010 +0000 (2010-02-04)
parents 9ced12c28e05
children 3ffdb094c2c0 87fe942a90b1
line source
1 XEN_ROOT = ../../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 # Xen script dir and scripts to go there.
5 XEN_SCRIPTS =
6 XEN_SCRIPTS += block
7 XEN_SCRIPTS += vif-bridge
8 XEN_SCRIPTS += vif-ip
10 XEN_SCRIPT_DATA =
12 .PHONY: all
13 all:
15 .PHONY: build
16 build:
18 .PHONY: install
19 install: all install-scripts
21 .PHONY: install-scripts
22 install-scripts:
23 $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
24 set -e; for i in $(XEN_SCRIPTS); \
25 do \
26 $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
27 done
28 set -e; for i in $(XEN_SCRIPT_DATA); \
29 do \
30 $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
31 done
33 .PHONY: clean
34 clean: