Whamcloud - gitweb
Fix dpkg-buildpackage -j2
authorTheodore Ts'o <tytso@mit.edu>
Tue, 18 May 2010 03:48:52 +0000 (23:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 May 2010 03:48:52 +0000 (23:48 -0400)
Add a dependency on subs to all-libs-recursive and all-progs-recursive
to dpkg-buildpackage -j2, since it builds make target 'libs'
explicitly, and we need to make sure the 'subs' target is run first.

Addresses-Debian-Bug: #563487

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Makefile.in

index 45f2972..5708efd 100644 (file)
@@ -33,8 +33,9 @@ subs: $(DEP_SUBSTITUTE)
        @(if test -d lib/et ; then cd lib/et && $(MAKE) compile_et; fi)
        @(if test -d lib/ext2fs ; then cd lib/ext2fs && $(MAKE) ext2_err.h; fi)
 
-progs: subs all-progs-recursive
-libs: subs all-libs-recursive
+progs: all-progs-recursive
+libs: all-libs-recursive
+all-progs-recursive all-libs-recursive: subs
 
 e2fsprogs.spec: $(DEP_SUBSTITUTE) e2fsprogs.spec.in
        cd $(top_builddir); CONFIG_FILES=./e2fsprogs.spec ./config.status