WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] allow repeated make uninstall

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] allow repeated make uninstall
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Fri, 13 May 2005 18:52:52 +0000
Delivery-date: Fri, 13 May 2005 20:07:23 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1389.22.1, 2005/05/13 19:52:52+01:00, smh22@xxxxxxxxxxxxxxxxxxxx

        allow repeated make uninstall
        
        Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>



 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


diff -Nru a/Makefile b/Makefile
--- a/Makefile  2005-05-13 16:07:59 -04:00
+++ b/Makefile  2005-05-13 16:07:59 -04:00
@@ -158,7 +158,8 @@
 uninstall: DESTDIR=
 uninstall: D=$(DESTDIR)
 uninstall:
-       [ ! -d $(D)/etc/xen ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
+       [ ! -d $(D)/etc/xen.old ] || mv -f $(D)/etc/xen $(D)/etc/xen.old
+       rm -rf $(D)/etc/xen
        rm -rf $(D)/etc/init.d/xend*
        rm -rf $(D)/usr/$(LIBDIR)/libxc* $(D)/usr/$(LIBDIR)/libxutil*
        rm -rf $(D)/usr/lib/python/xen $(D)/usr/include/xen

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] allow repeated make uninstall, BitKeeper Bot <=