From: "You, Yongkang" Subject: [PATCH]Remove all installed files by "make uninstall" Date: Sat, 20 Aug 2005 10:08:44 +0800 Message-ID: <1124503724.7860.17.camel@yyou-linux.sh.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-XALsLvYGr2WrYOHFatwh" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=-XALsLvYGr2WrYOHFatwh Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 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: --=-XALsLvYGr2WrYOHFatwh Content-Disposition: attachment; filename=Makefile.patch Content-Type: text/x-patch; name=Makefile.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit --- 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: --=-XALsLvYGr2WrYOHFatwh 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 --=-XALsLvYGr2WrYOHFatwh--