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] [xen-unstable] uninstall: get rid of hardcoded pathes

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] uninstall: get rid of hardcoded pathes
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 May 2009 04:30:40 -0700
Delivery-date: Wed, 27 May 2009 04:31:39 -0700
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243329274 -3600
# Node ID 9749e8f6e3d87f2a139d6704c6ae8aed9b9c59d1
# Parent  ad59f1c032ec048e7abc7cbf9d0fd2576ef999e6
uninstall: get rid of hardcoded pathes

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 Makefile |   48 ++++++++++++++++++++++++------------------------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff -r ad59f1c032ec -r 9749e8f6e3d8 Makefile
--- a/Makefile  Tue May 26 10:13:43 2009 +0100
+++ b/Makefile  Tue May 26 10:14:34 2009 +0100
@@ -194,37 +194,37 @@ help:
 .PHONY: uninstall
 uninstall: D=$(DESTDIR)
 uninstall:
-       [ -d $(D)/etc/xen ] && mv -f $(D)/etc/xen $(D)/etc/xen.old-`date +%s` 
|| true
-       rm -rf $(D)/etc/init.d/xend*
-       rm -rf $(D)/etc/hotplug/xen-backend.agent
-       rm -f  $(D)/etc/udev/rules.d/xen-backend.rules
-       rm -f  $(D)/etc/udev/xen-backend.rules
-       rm -f  $(D)/etc/udev/rules.d/xend.rules
-       rm -f  $(D)/etc/udev/xend.rules
-       rm -f  $(D)/etc/sysconfig/xendomains
+       [ -d $(D)$(XEN_CONFIG_DIR) ] && mv -f $(D)$(XEN_CONFIG_DIR) 
$(D)$(XEN_CONFIG_DIR).old-`date +%s` || true
+       rm -rf $(D)$(CONFIG_DIR)/init.d/xend*
+       rm -rf $(D)$(CONFIG_DIR)/hotplug/xen-backend.agent
+       rm -f  $(D)$(CONFIG_DIR)/udev/rules.d/xen-backend.rules
+       rm -f  $(D)$(CONFIG_DIR)/udev/xen-backend.rules
+       rm -f  $(D)$(CONFIG_DIR)/udev/rules.d/xend.rules
+       rm -f  $(D)$(CONFIG_DIR)/udev/xend.rules
+       rm -f  $(D)$(CONFIG_DIR)/sysconfig/xendomains
        rm -rf $(D)/var/run/xen* $(D)/var/lib/xen*
        rm -rf $(D)/boot/*xen*
        rm -rf $(D)/lib/modules/*xen*
-       rm -rf $(D)/usr/bin/xen* $(D)/usr/bin/lomount
-       rm -rf $(D)/usr/bin/cpuperf-perfcntr $(D)/usr/bin/cpuperf-xen
-       rm -rf $(D)/usr/bin/xc_shadow
-       rm -rf $(D)/usr/bin/pygrub
-       rm -rf $(D)/usr/bin/setsize $(D)/usr/bin/tbctl
-       rm -rf $(D)/usr/bin/xsls
-       rm -rf $(D)/usr/include/xenctrl.h $(D)/usr/include/xenguest.h
-       rm -rf $(D)/usr/include/xs_lib.h $(D)/usr/include/xs.h
-       rm -rf $(D)/usr/include/xen
+       rm -rf $(D)$(LIBDIR)/xen* $(D)$(BINDIR)/lomount
+       rm -rf $(D)$(BINDIR)/cpuperf-perfcntr $(D)$(BINDIR)/cpuperf-xen
+       rm -rf $(D)$(BINDIR)/xc_shadow
+       rm -rf $(D)$(BINDIR)/pygrub
+       rm -rf $(D)$(BINDIR)/setsize $(D)$(BINDIR)/tbctl
+       rm -rf $(D)$(BINDIR)/xsls
+       rm -rf $(D)$(INCLUDEDIR)/xenctrl.h $(D)$(INCLUDEDIR)/xenguest.h
+       rm -rf $(D)$(INCLUDEDIR)/xs_lib.h $(D)$(INCLUDEDIR)/xs.h
+       rm -rf $(D)$(INCLUDEDIR)/xen
        rm -rf $(D)$(LIBDIR)/libxenctrl* $(D)$(LIBDIR)/libxenguest*
        rm -rf $(D)$(LIBDIR)/libxenstore*
        rm -rf $(D)$(LIBDIR)/python/xen $(D)$(LIBDIR)/python/grub
        rm -rf $(D)$(LIBDIR)/xen/
-       rm -rf $(D)/usr/lib/xen/
-       rm -rf $(D)/usr/local/sbin/setmask $(D)/usr/local/sbin/xen*
-       rm -rf $(D)/usr/sbin/xen* $(D)/usr/sbin/netfix $(D)/usr/sbin/xm
-       rm -rf $(D)/usr/share/doc/xen
-       rm -rf $(D)/usr/share/xen
-       rm -rf $(D)/usr/share/man/man1/xen*
-       rm -rf $(D)/usr/share/man/man8/xen*
+       rm -rf $(D)$(LIBEXEC)/xen*
+       rm -rf $(D)$(SBINDIR)/setmask
+       rm -rf $(D)$(SBINDIR)/xen* $(D)$(SBINDIR)/netfix $(D)$(SBINDIR)/xm
+       rm -rf $(D)$(SHAREDIR)/doc/xen
+       rm -rf $(D)$(SHAREDIR)/xen
+       rm -rf $(D)$(MAN1DIR)/xen*
+       rm -rf $(D)$(MAN8DIR)/xen*
        rm -rf $(D)/boot/tboot*
 
 # Legacy targets for compatibility

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] uninstall: get rid of hardcoded pathes, Xen patchbot-unstable <=