[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH]Remove all installed files by "make uninstall"



I find at present "make uninstall" won't remove all installed files, for
example: /usr/libexec/xen/xc_restore. This may cause potential unclean
environment.

This patch add more lines in uninstall to remove all installed files by
"make uninstall". Don't know if this patch is acceptable.

Yongkang You

Signed-off-by: Yongkang You <yongkang.you@xxxxxxxxx>
diffstat Makefile.patch:
 Makefile |    6 ++++++
 1 files changed, 6 insertions(+)

--- a/Makefile  2005-08-19 10:28:13.000000000 +0800
+++ b/Makefile  2005-08-19 19:02:50.000000000 +0800
@@ -172,6 +172,12 @@
        rm -rf $(D)/usr/bin/xen* $(D)/usr/bin/miniterm
        rm -rf $(D)/boot/*xen*
        rm -rf $(D)/lib/modules/*xen*
+       rm -rf $(D)/usr/bin/cpuperf-perfcntr $(D)/usr/bin/cpuperf-xen
+       rm -rf $(D)/usr/bin/xc_shadow $(D)/usr/bin/lomount
+       rm -rf $(D)/usr/share/xen $(D)/usr/libexec/xen
+       rm -rf $(D)/usr/share/man/man1/xen*
+       rm -rf $(D)/usr/share/man/man8/xen*
+       rm -rf $(D)/usr/lib/xen

 # Legacy targets for compatibility
 linux24:

Attachment: Makefile.patch
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.