ia64/xen-unstable

changeset 4910:cacce4066cfc

bitkeeper revision 1.1389.22.1 (4284f784wtIDAT1YhOkMEav5iPFY-w)

allow repeated make uninstall

Signed-off-by: Steven Hand <steven@xensource.com>
author smh22@firebug.cl.cam.ac.uk
date Fri May 13 18:52:52 2005 +0000 (2005-05-13)
parents 8b3e823884db
children 85b71d470051
files Makefile
line diff
     1.1 --- a/Makefile	Fri May 13 18:20:40 2005 +0000
     1.2 +++ b/Makefile	Fri May 13 18:52:52 2005 +0000
     1.3 @@ -158,7 +158,8 @@ help:
     1.4  uninstall: DESTDIR=
     1.5  uninstall: D=$(DESTDIR)
     1.6  uninstall:
     1.7 -	[ ! -d $(D)/etc/xen ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
     1.8 +	[ ! -d $(D)/etc/xen.old ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
     1.9 +	rm -rf $(D)/etc/xen
    1.10  	rm -rf $(D)/etc/init.d/xend*
    1.11  	rm -rf $(D)/usr/$(LIBDIR)/libxc* $(D)/usr/$(LIBDIR)/libxutil*
    1.12  	rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen