From: Keith Packard Date: Tue, 28 Jan 2003 20:56:18 +0000 (+0000) Subject: Bug #2 If a sub-make fails, then the build will still happily continue. I X-Git-Tag: fc-2_1_91~42 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4d3520610ec82a80601a1590861dc9505e2813b4;p=fontconfig.git Bug #2 If a sub-make fails, then the build will still happily continue. I will attach a patch I have been using in the Debian package for a while. --- diff --git a/Makefile.in b/Makefile.in index bfb24c8..69ea96c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,7 +29,7 @@ include $(TOPDIR)/config/Makedefs DIRS = src fc-cache fc-list fontconfig all install clean:: - for d in $(DIRS); do (cd $$d && $(MAKE) $@); done + for d in $(DIRS); do (cd $$d && $(MAKE) $@) || exit 1; done # # create fonts.conf file