05e1952f64
The Xen virtual machine monitor allows running several virtual machines on a single physical machine. The xentools12 package contains the tools to create, destroy and control the virtual machines. The xentools12 package contains the tools for Xen v1.2.
28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
$NetBSD: patch-ac,v 1.1 2004/05/08 18:24:00 cl Exp $
|
|
|
|
--- examples/Makefile.orig 2004-04-18 04:29:14.000000000 +0200
|
|
+++ examples/Makefile
|
|
@@ -12,15 +12,16 @@ ETC = defaults democd netbsd
|
|
INITD = xendomains
|
|
|
|
all:
|
|
+ [ -f xc_dom_create.py-pre ] || ${MV} xc_dom_create.py xc_dom_create.py-pre
|
|
+ ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
|
|
+ xc_dom_create.py-pre > xc_dom_create.py
|
|
|
|
install: all
|
|
- mkdir -p $(prefix)/usr/bin
|
|
- cp -a $(INSTALL) $(prefix)/usr/bin
|
|
- #chmod 755 $(INSTALL)
|
|
- mkdir -p $(prefix)/etc/xc
|
|
- for i in $(ETC) ; do [ ! -e $(prefix)/etc/xc/$$i ] && echo Install $$i && cp $$i $(prefix)/etc/xc/ ; done || true
|
|
- mkdir -p $(prefix)/etc/xc/auto
|
|
- for i in $(INITD) ; do [ -e $(prefix)/etc/init.d/ ] && [ ! -e $(prefix)/etc/init.d/$$i ] && cp $$i $(prefix)/etc/init.d/ ; done || true
|
|
+ ${BSD_INSTALL_SCRIPT} $(INSTALL) ${PREFIX}/bin
|
|
+ ${BSD_INSTALL_DATA_DIR} ${EGDIR}
|
|
+ ${BSD_INSTALL_DATA} $(ETC) ${EGDIR}
|
|
+ #mkdir -p $(prefix)/etc/xc/auto
|
|
+ #for i in $(INITD) ; do [ -e $(prefix)/etc/init.d/ ] && [ ! -e $(prefix)/etc/init.d/$$i ] && cp $$i $(prefix)/etc/init.d/ ; done || true
|
|
|
|
dist: all
|
|
mkdir -p ../../../install/bin
|