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.
This commit is contained in:
Keith Packard 2003-01-28 20:56:18 +00:00
parent 3c0b3aa22c
commit 4d3520610e
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ include $(TOPDIR)/config/Makedefs
DIRS = src fc-cache fc-list fontconfig DIRS = src fc-cache fc-list fontconfig
all install clean:: 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 # create fonts.conf file