pkgsrc-ng/sysutils/xentools42/patches/patch-hotplug_common_Makefile
2013-09-26 17:14:40 +02:00

25 lines
802 B
Plaintext

$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