[Xen-devel] multiple uninstalls - small patch

<gum@centrum.cz>
Fri, 22 Jul 2005 17:33:07 -0000

Hi there,
I have found, multiple make uninstall does not work. This "small
patch" repaired the missing keyword.
-j


$ cat xen_uninstall.patch
diff -Naur xen-2.0-orig/Makefile xen-2.0-new/Makefile
--- xen-2.0-orig/Makefile       2005-05-22 10:56:31.000000000 +0000
+++ xen-2.0-new/Makefile        2005-07-22 17:00:28.555348328 +0000
@@ -157,7 +157,7 @@
 uninstall: DESTDIR uninstall: D=$(DESTDIR)
 uninstall:
-       [ -d $(D)/etc/xen ] &amp;&amp; mv -f $(D)/etc/xen
$(D)/etc/xen.old-$(date +%s)
+       [ -d $(D)/etc/xen ] &amp;&amp; mv -f $(D)/etc/xen
$(D)/etc/xen.old-$(shell date +%s)
        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






--_12345_-------=_4CC679D5.74E54D6A
Content-Type: text/html; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit


Hi there,
I have found, multiple make
uninstall does not work. This "small patch"
repaired the missing keyword.
-j


$ cat xen_uninstall.patch
diff -Naur xen-2.0-orig/Makefile xen-2.0-new/Makefile
--- xen-2.0-orig/Makefile 2005-05-22 10:56:31.000000000 +0000
+++ xen-2.0-new/Makefile 2005-07-22 17:00:28.555348328 +0000
@@ -157,7 +157,7 @@
uninstall: DESTDIR=
uninstall: D=$(DESTDIR)
uninstall:
-       [ -d $(D)/etc/xen ] &amp;&amp; mv -f $(D)/etc/xen
$(D)/etc/xen.old-$(date +%s)
+       [ -d $(D)/etc/xen ] &amp;&amp; mv -f $(D)/etc/xen
$(D)/etc/xen.old-$(shell date +%s)
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






--_12345_-------=_4CC679D5.74E54D6A--


--===============0539147493=Content-Type: text/plain;
charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============0539147493==--