btrfs-progs: build, make build test work again
authorDavid Sterba <dsterba@suse.cz>
Wed, 28 Jan 2015 17:16:10 +0000 (18:16 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 28 Jan 2015 17:16:10 +0000 (18:16 +0100)
We need to regenerate version.h after clean-all.

Signed-off-by: David Sterba <dsterba@suse.cz>
Makefile.in

index d3753fa..8efabbf 100644 (file)
@@ -260,8 +260,14 @@ library-test.static: $(libs_static) library-test.o
        @echo "    [LD]     $@"
        $(Q)$(CC) $(CFLAGS) -o library-test-static library-test.o $(LDFLAGS) $(libs_static)
 
-test-build:
+test-build: test-build-pre test-build-real
+
+test-build-pre:
        $(MAKE) clean-all
+       ./autogen.sh
+       ./configure
+
+test-build-real:
        $(MAKE) library-test
        -$(MAKE) library-test.static
        $(MAKE) -j 8 all