$NetBSD: patch-hotplug_common_Makefile,v 1.1 2015/01/20 16:42:13 bouyer Exp $ --- hotplug/common/Makefile.orig 2015-01-12 17:53:24.000000000 +0100 +++ hotplug/common/Makefile 2015-01-19 13:16:37.000000000 +0100 @@ -23,15 +23,15 @@ .PHONY: install-scripts install-scripts: build - [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \ - $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR) + [ -d $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts ] || \ + $(INSTALL_DIR) $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts set -e; for i in $(XEN_SCRIPTS); \ do \ - $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ + $(INSTALL_PROG) $$i $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts; \ done set -e; for i in $(XEN_SCRIPT_DATA); \ do \ - $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ + $(INSTALL_DATA) $$i $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts; \ done .PHONY: clean