From patchwork Thu Jan 31 12:50:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 2073471 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 08978DF2E5 for ; Thu, 31 Jan 2013 12:50:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753471Ab3AaMuz (ORCPT ); Thu, 31 Jan 2013 07:50:55 -0500 Received: from cantor2.suse.de ([195.135.220.15]:36585 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753302Ab3AaMuy (ORCPT ); Thu, 31 Jan 2013 07:50:54 -0500 Received: from relay2.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id D0D61A3CEE for ; Thu, 31 Jan 2013 13:50:53 +0100 (CET) Received: by ds.suse.cz (Postfix, from userid 10065) id 80C19DA847; Thu, 31 Jan 2013 13:50:53 +0100 (CET) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH] btrfs-progs: fix parallel build Date: Thu, 31 Jan 2013 13:50:52 +0100 Message-Id: <1359636652-20586-1-git-send-email-dsterba@suse.cz> X-Mailer: git-send-email 1.8.0.2 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Parallel build may fail due to late creation of version.h, fix the rule name that does not match the filename. Signed-off-by: David Sterba Reviewed-by: Eri Sandeen --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6df402c..bef1e13 100644 --- a/Makefile +++ b/Makefile @@ -52,9 +52,9 @@ endif $(Q)$(CC) $(DEPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c $< -all: version $(progs) manpages +all: version.h $(progs) manpages -version: +version.h: $(Q)bash version.sh btrfs: $(objects) btrfs.o help.o $(cmds_objects)