Message ID | 1359636652-20586-1-git-send-email-dsterba@suse.cz (mailing list archive) |
---|---|
State | Under Review, archived |
Headers | show |
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 --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)
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(-)