Fix dpkg-buildpackage -j2

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>
bitmap-optimize
Theodore Ts'o 2010-05-17 23:48:52 -04:00
parent faec3b1a34
commit 3a0d5d396b
1 changed files with 3 additions and 2 deletions

View 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