You, Yongkang
2005-Aug-20 02:08 UTC
[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@intel.com>
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:
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Ian Pratt
2005-Aug-20 08:14 UTC
RE: [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.Yep, definitely useful. Anthony, please could you incorporate this into the tools directory cleanup and prefix patch I think you signed up for? I think it''s a good idea if make uninstall has a go at cleaning up all our droppings from previous version. Thanks, Ian> Yongkang You > > Signed-off-by: Yongkang You <yongkang.you@intel.com> 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: > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel