$NetBSD: patch-hotplug_common_Makefile,v 1.1 2013/05/15 06:58:50 jnemeth Exp $ --- hotplug/common/Makefile.orig 2013-04-23 16:42:55.000000000 +0000 +++ hotplug/common/Makefile @@ -23,15 +23,15 @@ install: all install-scripts .PHONY: install-scripts install-scripts: build - [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \ - $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR) + [ -d $(DESTDIR)${EGDIR}/scripts ] || \ + $(INSTALL_DIR) $(DESTDIR)${EGDIR}/scripts set -e; for i in $(XEN_SCRIPTS); \ do \ - $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ + $(INSTALL_PROG) $$i $(DESTDIR)${EGDIR}/scripts; \ done set -e; for i in $(XEN_SCRIPT_DATA); \ do \ - $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \ + $(INSTALL_DATA) $$i $(DESTDIR)${EGDIR}/scripts; \ done .PHONY: clean