From patchwork Thu May 5 12:02:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Iooss X-Patchwork-Id: 9023791 Return-Path: X-Original-To: patchwork-selinux@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9DF4FBF29F for ; Thu, 5 May 2016 12:04:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 77B83202E9 for ; Thu, 5 May 2016 12:04:35 +0000 (UTC) Received: from emsm-gh1-uea11.nsa.gov (emsm-gh1-uea11.nsa.gov [8.44.101.9]) by mail.kernel.org (Postfix) with ESMTP id 3C74A2027D for ; Thu, 5 May 2016 12:04:34 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.24,582,1454976000"; d="scan'208";a="15898594" IronPort-PHdr: =?us-ascii?q?9a23=3AnRQusRCdjU1Um79W0XI+UyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSP7+oMbcNUDSrc9gkEXOFd2CrakU2qyO7+u8ASQp2tWojjMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3Dwdp?= =?us-ascii?q?POO9QteU1JTmkbjusMGLKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu?= =?us-ascii?q?5NznlpL1/A1zz158O34YIxu38I46FpytREGZneU+x4COUATWduD2dg/8DvtB/e?= =?us-ascii?q?XSOT93AcVSMQiRMODA/bvz/gWZKklCrxse50w2G7OsrtVvhgXzWp6KNiU1npjy?= =?us-ascii?q?AcLBY8rHGRjdZ/2vEI6Cm9rgByltaHKLqeM+BzK+aEJd4=3D?= X-IPAS-Result: =?us-ascii?q?A2G+BgAQNitX/wHyM5BegzhTfagXAZMSIgOBc4U0TAEBAQE?= =?us-ascii?q?BAQICYieCLX1bPQIEAQI3FCAOAwkBARcpCAgDAS0VEQ4LBRgEiAkEAb8yhiCIX?= =?us-ascii?q?REBaIRxHAWYGoFVhCeIH4I0hxyFQY80YoNtaoclgTUBAQE?= Received: from unknown (HELO tarius.tycho.ncsc.mil) ([144.51.242.1]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2016 12:04:33 +0000 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u45C4WfK013623; Thu, 5 May 2016 08:04:32 -0400 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id u45C3Fra035197 for ; Thu, 5 May 2016 08:03:15 -0400 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id u45C3Cu9013308 for ; Thu, 5 May 2016 08:03:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1C3AAAgNStXkCIeaIFehAt9pnCQMoQthydMAQEBAQEBEwEBAQEJCwkJIYRxBoEJUVcZiCoEAb8shiCJV4RxHAWYGoFVhCeIH4I0jF2PNIIYDIIraohaAQEB X-IPAS-Result: A1C3AAAgNStXkCIeaIFehAt9pnCQMoQthydMAQEBAQEBEwEBAQEJCwkJIYRxBoEJUVcZiCoEAb8shiCJV4RxHAWYGoFVhCeIH4I0jF2PNIIYDIIraohaAQEB X-IronPort-AV: E=Sophos;i="5.24,582,1454994000"; d="scan'208";a="5430295" Received: from emsm-gh1-uea11.corp.nsa.gov (HELO emsm-gh1-uea11.nsa.gov) ([10.208.41.37]) by goalie.tycho.ncsc.mil with ESMTP; 05 May 2016 08:03:14 -0400 IronPort-PHdr: =?us-ascii?q?9a23=3ASxSq5RCJpITKENZMGCM8UyQJP3N1i/DPJgcQr6Af?= =?us-ascii?q?oPdwSP7/pcbcNUDSrc9gkEXOFd2CrakU2qyO7+u8ASQp2tWojjMrSNR0TRgLiM?= =?us-ascii?q?EbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3Dwdp?= =?us-ascii?q?POO9QteU1JTmkbjusMGLKyxzxxODIppKZC2sqgvQssREyaBDEY0WjiXzn31TZu?= =?us-ascii?q?5NznlpL1/A1zz158O34YIxu38I46FppIZ8VvDhcqA5S6FIJCg3OGAyosvwvF/M?= =?us-ascii?q?ShXcyGEbVzAwkxFPBwHepDD9WYzq+n/8t+F63CCBe8zxSqsvcTH+/+FsUhC+23?= =?us-ascii?q?RPDCIw7GyC0p84t6lcuh/0/xE=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0EEAQAQNitXkCIeaIFehAt9pnCBKI8Kh?= =?us-ascii?q?C2Bc4U0TAEBAQEBAQICDwEBAQEJCwkJIS+CLX1bPQaBCVFXGYgqBAG/MoYgiVe?= =?us-ascii?q?EcRwFmBqBVYQniB+CNIxdjzSCGAyCK2qIWgEBAQ?= X-IPAS-Result: =?us-ascii?q?A0EEAQAQNitXkCIeaIFehAt9pnCBKI8KhC2Bc4U0TAEBAQE?= =?us-ascii?q?BAQICDwEBAQEJCwkJIS+CLX1bPQaBCVFXGYgqBAG/MoYgiVeEcRwFmBqBVYQni?= =?us-ascii?q?B+CNIxdjzSCGAyCK2qIWgEBAQ?= X-IronPort-AV: E=Sophos;i="5.24,582,1454976000"; d="scan'208";a="15898457" Received: from mx1.polytechnique.org ([129.104.30.34]) by emsm-gh1-uea11.nsa.gov with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2016 12:03:06 +0000 Received: from iosakhe.localdomain (32.206.133.77.rev.sfr.net [77.133.206.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id 97A98564835 for ; Thu, 5 May 2016 14:03:04 +0200 (CEST) From: Nicolas Iooss To: selinux@tycho.nsa.gov Subject: [PATCH 2/3] sepolgen: remove additional files when cleaning Date: Thu, 5 May 2016 14:02:39 +0200 Message-Id: <1462449760-9072-3-git-send-email-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.8.2 In-Reply-To: <1462449760-9072-1-git-send-email-nicolas.iooss@m4x.org> References: <1462449760-9072-1-git-send-email-nicolas.iooss@m4x.org> X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Thu May 5 14:03:04 2016 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove the files created by Python 3 and refpolicy building process. Signed-off-by: Nicolas Iooss --- sepolgen/src/sepolgen/Makefile | 3 +-- sepolgen/tests/Makefile | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sepolgen/src/sepolgen/Makefile b/sepolgen/src/sepolgen/Makefile index 9ac765151478..d3aa7715c488 100644 --- a/sepolgen/src/sepolgen/Makefile +++ b/sepolgen/src/sepolgen/Makefile @@ -11,5 +11,4 @@ install: all clean: rm -f parser.out parsetab.py rm -f *~ *.pyc - - + rm -rf __pycache__ diff --git a/sepolgen/tests/Makefile b/sepolgen/tests/Makefile index 924a9bed6bcd..e17eef229ff3 100644 --- a/sepolgen/tests/Makefile +++ b/sepolgen/tests/Makefile @@ -4,8 +4,11 @@ clean: rm -f *~ *.pyc rm -f parser.out parsetab.py rm -f out.txt + rm -f module_compile_test.fc + rm -f module_compile_test.if rm -f module_compile_test.pp rm -f output + rm -rf __pycache__ tmp test: $(PYTHON) run-tests.py