From patchwork Thu May 25 19:25:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 9749027 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 DF38960388 for ; Thu, 25 May 2017 19:27:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CECF6283BA for ; Thu, 25 May 2017 19:27:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3665283BE; Thu, 25 May 2017 19:27:15 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71A72283BB for ; Thu, 25 May 2017 19:27:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1036640AbdEYT1O (ORCPT ); Thu, 25 May 2017 15:27:14 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34320 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1033442AbdEYT1H (ORCPT ); Thu, 25 May 2017 15:27:07 -0400 Received: by mail-pf0-f195.google.com with SMTP id w69so41051685pfk.1 for ; Thu, 25 May 2017 12:27:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bVZXzw/xic8vrd8xUuWKs9NKhoOjAKmPKxJqTx+bKw4=; b=aIg/6fhsqdXmePAm8G8RPRJRJyCKJd86evHtLFevJN/32TSkVjHRwOEK0nuVzokQSP LOKCx4anzjHDoBhAtLguY3lrpFCwyl/nYznhBOj+xErJezGNW/irSig+rQdL4R2Qniuz QtwlB/I7VlM19UNx9wS2GzTaMXpNTinGWVMZFOB3W01vFz1Pf4R7Q09TR1yKHsseux62 nB3uPXGDuCxH7F9TvDxF032sXS8YTQK93h6o9chmBux/rMZidj38PLs3cMfUr85++Vs7 GqaTj8uUTJRKLV3PWxyJCNgFLuuDO87RnzOFnL9ph/8RZlEZcKBeuA0zf2AuAIJehnNs sR/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bVZXzw/xic8vrd8xUuWKs9NKhoOjAKmPKxJqTx+bKw4=; b=TBCxgKa5iTQP3EFsq3o1rvCPYS3EokyjX6kgYqDQ/4FYGbkrg7H6UQ6wss1bAkzjwi ee7VZ2Pl3Bm8Hl50rhKGa81Mg2RX/8bEffMxHxXApw9v3e+3fk0gdKKQVUbtDIUw/AhD LLVtnLkCDYNXVCti9rTzGNOYka/o+SoaILowISZI/JP75BQRAR9hkG6MRG9/+/RzYRAH K6itBQLd9/6hDvOFvHm7x81ti1BAZHVVycS7TZbtnhql1bG8I0at+Y0cJzfPATGogO7M Cy4MIrTnGqZXicIcWAclBDsbfIoCvrYxEGtKtHvUdVXnl6GEp/ucJni23f2ibUe/8Lue 0h2g== X-Gm-Message-State: AODbwcCtkF7XnnzX01DriAGBaPB9CaE3oPW+4HQLmX++X/1xDe9XCr+5 UtkP0nLKdCz2hw== X-Received: by 10.84.248.73 with SMTP id e9mr52976211pln.76.1495740426818; Thu, 25 May 2017 12:27:06 -0700 (PDT) Received: from ebiggers-linuxstation.kir.corp.google.com ([100.66.174.81]) by smtp.gmail.com with ESMTPSA id f86sm14617917pfj.128.2017.05.25.12.27.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 12:27:06 -0700 (PDT) From: Eric Biggers To: Theodore Ts'o Cc: fstests@vger.kernel.org, Eric Biggers Subject: [PATCH 6/7] Makefile: check whether xfsprogs-dev exists before cleaning it Date: Thu, 25 May 2017 12:25:48 -0700 Message-Id: <20170525192549.138518-7-ebiggers3@gmail.com> X-Mailer: git-send-email 2.13.0.219.gdb65acc882-goog In-Reply-To: <20170525192549.138518-1-ebiggers3@gmail.com> References: <20170525192549.138518-1-ebiggers3@gmail.com> Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Eric Biggers If running 'make clean' (or do-all) before the repositories have been cloned, don't try to clean a nonexistent xfsprogs-dev directory. Signed-off-by: Eric Biggers --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6be3752..ced32b2 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ clean: do \ if test -f $$i/Makefile ; then make -C $$i clean ; fi ; \ done - make -C xfsprogs-dev realclean + if test -d xfsprogs-dev; then make -C xfsprogs-dev realclean; fi rm -rf bld xfstests rm -f kvm-xfstests/util/zerofree $(SCRIPTS)