From patchwork Mon Jun 13 07:49:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9172255 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 405B16086B for ; Mon, 13 Jun 2016 07:51:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32FC520499 for ; Mon, 13 Jun 2016 07:51:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27EF422230; Mon, 13 Jun 2016 07:51:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D18DA27AC2 for ; Mon, 13 Jun 2016 07:51:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCMcb-0005uD-GB; Mon, 13 Jun 2016 07:49:21 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bCMca-0005tQ-EE for xen-devel@lists.xenproject.org; Mon, 13 Jun 2016 07:49:20 +0000 Received: from [85.158.139.211] by server-7.bemta-5.messagelabs.com id 49/25-10476-F756E575; Mon, 13 Jun 2016 07:49:19 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeJIrShJLcpLzFFi42JxWrohUrc+NS7 coLVLzuL7lslMDowehz9cYQlgjGLNzEvKr0hgzXi59i97wXHOiruvdRoYZ3B0MXJySAj4Szza vYEJxGYTUJb42dnLBmKLCOhJNB14zghiMwt4SbxY9w/MFhbwkLh79RNrFyMHB4uAqsSGT3EgY V4BZ4kzZ28wQoyUkzh//CczSAmngIvEk3fmIGEhoJKGWYeZIWwFiY7px5ggWgUlTs58wgKxSU Li4IsXzBBjuCVun57KPIGRbxaSsllIyhYwMq1i1ChOLSpLLdI1NNNLKspMzyjJTczM0TU0MNX LTS0uTkxPzUlMKtZLzs/dxAgMJwYg2MF4/rTnIUZJDiYlUV4Jn7hwIb6k/JTKjMTijPii0pzU 4kOMMhwcShK8+1OAcoJFqempFWmZOcDAhklLcPAoifAeB0nzFhck5hZnpkOkTjEqSonzxoEkB EASGaV5cG2waLrEKCslzMsIdIgQT0FqUW5mCar8K0ZxDkYlYd69IFN4MvNK4Ka/AlrMBLSYY1 80yOKSRISUVAOj7142kc97ot/4npxv6XAjLMin4TT3i2P3NvJrMFv83ivVsjjMK8m3zsNyIkO 4x+a+A+un/D+Ru86oPLZF6/z2b7vOiZj3avz+4vFrwlqj0vuHb9224bDp/X7ev815+xepFUWP lN4LNB22sF6zf2PrNr0nFe0+Hx42znlnmlAraNBjdHYj29N3SizFGYmGWsxFxYkAP4oGGqECA AA= X-Env-Sender: prvs=9655a08af=wei.liu2@citrix.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1465804157!44533302!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 21835 invoked from network); 13 Jun 2016 07:49:19 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 13 Jun 2016 07:49:19 -0000 X-IronPort-AV: E=Sophos;i="5.26,466,1459814400"; d="scan'208";a="359992698" From: Wei Liu To: Xen-devel Date: Mon, 13 Jun 2016 08:49:03 +0100 Message-ID: <1465804155-14469-6-git-send-email-wei.liu2@citrix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465804155-14469-1-git-send-email-wei.liu2@citrix.com> References: <1465804155-14469-1-git-send-email-wei.liu2@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Jackson , Wei Liu Subject: [Xen-devel] [PATCH 05/17] tools: install and remove XEN_LIB_DIR in Makefile X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP The intention of using wild card in uninstall target is to remove both xen and xenstored directories. Change that to two runes that explicitly remove each of those directories. Note that the runes that use hard-coded paths are kept for now to keep the tree bisectable as I replace hard-coded paths component by component. Those runes will be removed eventually. Signed-off-by: Wei Liu Acked-by: Ian Jackson --- Cc: Ian Jackson --- tools/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/Makefile b/tools/Makefile index d43a229..cb0817a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -64,6 +64,7 @@ install: subdirs-install $(INSTALL_DIR) $(DESTDIR)$(XEN_LOG_DIR) $(INSTALL_DIR) $(DESTDIR)$(XEN_RUN_DIR) $(INSTALL_DIR) $(DESTDIR)/var/lib/xen + $(INSTALL_DIR) $(DESTDIR)$(XEN_LIB_DIR) .PHONY: uninstall uninstall: D=$(DESTDIR) @@ -77,6 +78,8 @@ uninstall: rm -f $(D)$(sbindir)/xendomains rm -f $(D)$(SYSCONFIG_DIR)/xencommons rm -rf $(D)/var/lib/xen* + rm -rf $(D)$(XEN_LIB_DIR) + rm -rf $(D)$(XEN_LIB_STORED) rm -rf $(D)$(bindir)/cpuperf-perfcntr $(D)$(bindir)/cpuperf-xen rm -rf $(D)$(bindir)/xc_shadow rm -rf $(D)$(bindir)/pygrub