aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-26 10:56:17 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-01-26 10:56:17 +0000
commit71e256b6ed65ef1f3ad27cb2edbba2ef0f1d29df (patch)
treec917a82ad42ed38fffeee3b12ddc2b961f59bedf /Makefile
parentf92899900f763390971025945a90a02ca9fd5259 (diff)
downloadxen-71e256b6ed65ef1f3ad27cb2edbba2ef0f1d29df.tar.gz
xen-71e256b6ed65ef1f3ad27cb2edbba2ef0f1d29df.tar.bz2
xen-71e256b6ed65ef1f3ad27cb2edbba2ef0f1d29df.zip
bitkeeper revision 1.1159.223.42 (41f77751X73w7_t6jI0dgGV6N-Bweg)
More build system fixes and tweaks.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d1d7ba5df4..33bac70d43 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ INSTALL_DIR := $(INSTALL) -d -m0755
INSTALL_DATA := $(INSTALL) -m0644
INSTALL_PROG := $(INSTALL) -m0755
-KERNELS ?= linux-2.6-xen0 linux-2.6-xenU linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
+KERNELS ?= *2.6*
# linux-2.4-xen0 linux-2.4-xenU netbsd-2.0-xenU
# You may use wildcards in the above e.g. KERNELS=*2.4*
@@ -146,9 +146,20 @@ help:
@echo ' with extreme care!)'
# Use this target with extreme care!
+uninstall: DESTDIR=
+uninstall: D=$(DESTDIR)
uninstall:
- cp -a /etc/xen /etc/xen.old && rm -rf /etc/xen
- rm -rf "/usr/lib/python2.?/site-packages/xen* /usr/lib/libxc* /usr/lib/python2.?/site-packages/Xc*"
+ [ ! -d $(D)/etc/xen ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
+ rm -rf $(D)/etc/init.d/xend*
+ rm -rf $(D)/usr/lib/libxc* $(D)/usr/lib/libxutil*
+ rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen
+ rm -rf $(D)/usr/include/xcs_proto.h $(D)/usr/include/xc.h
+ rm -rf $(D)/usr/sbin/xcs $(D)/usr/sbin/xcsdump $(D)/usr/sbin/xen*
+ rm -rf $(D)/usr/sbin/netfix
+ rm -rf $(D)/usr/sbin/xfrd $(D)/usr/sbin/xm $(D)/var/lib/xen
+ rm -rf $(D)/usr/share/doc/xen $(D)/usr/man/man*/xentrace*
+ rm -rf $(D)/usr/bin/xen* $(D)/usr/bin/miniterm
+ rm -rf $(D)/boot/*xen*
# Legacy targets for compatibility
linux24: