From 60b30dbaa6672628f123e95bf8a8f0f37683ac4f Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Mon, 1 Sep 2008 17:59:01 -0400 Subject: [PATCH] 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" --- Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index b9f7da6f9..ffb12241c 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 -- 2.47.3