diff mbox

btrfs-progs: fix parallel build

Message ID 1359636652-20586-1-git-send-email-dsterba@suse.cz (mailing list archive)
State Under Review, archived
Headers show

Commit Message

David Sterba Jan. 31, 2013, 12:50 p.m. UTC
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 <dsterba@suse.cz>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Eric Sandeen Jan. 31, 2013, 3:32 p.m. UTC | #1
On 1/31/13 6:50 AM, David Sterba wrote:
> 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 <dsterba@suse.cz>

Look good, thanks.  surprised I didn't run into this.

Reviewed-by: Eri Sandeen <sandeen@redhat.com>
> ---
>  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)
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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)