From patchwork Wed Jun 11 14:01:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 4336431 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4B456BEEAA for ; Wed, 11 Jun 2014 14:02:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A1A020256 for ; Wed, 11 Jun 2014 14:02:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 209A820218 for ; Wed, 11 Jun 2014 14:02:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932373AbaFKOCj (ORCPT ); Wed, 11 Jun 2014 10:02:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46038 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755484AbaFKOBp (ORCPT ); Wed, 11 Jun 2014 10:01:45 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5BE1iwT025256 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Jun 2014 10:01:44 -0400 Received: from dhcp-27-201.brq.redhat.com (dhcp-1-235.brq.redhat.com [10.34.1.235]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5BE1ZbU014365; Wed, 11 Jun 2014 10:01:42 -0400 From: Andrew Jones To: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: christoffer.dall@linaro.org, pbonzini@redhat.com Subject: [PATCH v5 04/19] add distclean target and gitignore more Date: Wed, 11 Jun 2014 16:01:19 +0200 Message-Id: <1402495294-30737-5-git-send-email-drjones@redhat.com> In-Reply-To: <1402495294-30737-1-git-send-email-drjones@redhat.com> References: <1402495294-30737-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 also add a check for config.mak in Makefile Signed-off-by: Andrew Jones Acked-by: Christoffer Dall --- .gitignore | 5 +++++ Makefile | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d6663ec10caf1..775d0dfd8263e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,8 @@ patches .stgit-* cscope.* +*.swp +/config.mak +/*-run +/test.log +/msr.out diff --git a/Makefile b/Makefile index 566d2bee771e1..7eeece84300df 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,13 @@ +ifeq ($(wildcard config.mak),) +$(error run ./configure first. See ./configure -h) +endif + include config.mak DESTDIR := $(PREFIX)/share/qemu/tests -.PHONY: arch_clean clean +.PHONY: arch_clean clean distclean #make sure env CFLAGS variable is not used CFLAGS = @@ -53,3 +57,6 @@ install: clean: arch_clean $(RM) lib/.*.d $(libcflat) $(cflatobjs) + +distclean: clean + $(RM) config.mak $(TEST_DIR)-run test.log msr.out