aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-09-01 17:59:01 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-09-01 18:07:59 -0400
commit60b30dbaa6672628f123e95bf8a8f0f37683ac4f (patch)
tree27372e19ddf5e1081ec46cb0dda869eaa49fec7a /Makefile.in
parent31d648781224956acab49178f6aee615d234f7df (diff)
downloade2fsprogs-60b30dbaa6672628f123e95bf8a8f0f37683ac4f.tar.gz
Fix e2fsprogs-libs build failure due to 'subs' target
In e2fsprogs-libs the lib/ext2fs directory is not present, and we need to make sure the top-level Makefile doesn't blow up in it's not there. Addresses-Sourceforge-Bug: #2087502 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index b9f7da6f..ffb12241 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -26,9 +26,10 @@ all:: subs
$(MAKE) docs
subs:
- @for i in $(SUBS) ; do if test -d `dirname $$i` ; then $(MAKE) $$i ; fi ; done
- @(test -d lib/et && cd lib/et && $(MAKE) compile_et)
- @(test -d lib/ext2fs && cd lib/ext2fs && $(MAKE) ext2_err.h)
+ @for i in $(SUBS) ; do if test -d `dirname $$i` ; \
+ then $(MAKE) $$i || exit $$? ; fi ; done
+ @(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