From a2d3f60222b29988f78b42608088d4db3da95d9d Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Mon, 13 Jul 2009 23:00:44 +0100 Subject: [PATCH] Make UAFS builds stop the main build The sub-make invocations in libuafs ignored the return code of the make, which allowed the libuafs build to appear to succeed even if files had failed to build. Fix this. Reviewed-on: http://gerrit.openafs.org/74 Verified-by: Russ Allbery Reviewed-by: Russ Allbery Reviewed-by: Derrick Brashear --- src/libuafs/Makefile.common.in | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/libuafs/Makefile.common.in b/src/libuafs/Makefile.common.in index d80127a19..e91878556 100644 --- a/src/libuafs/Makefile.common.in +++ b/src/libuafs/Makefile.common.in @@ -1454,23 +1454,23 @@ setup_nsafs: AFSWEB setup_common ln -s ../Makefile.common AFSWEB/Makefile.common UAFS/$(LIBUAFS): setup_uafs - cd UAFS; \ - $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=; \ + cd UAFS && \ + $(MAKE) $(LIBUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=&& \ $(RANLIB) $(LIBUAFS) JUAFS/$(LIBJUAFS): setup_juafs - cd JUAFS; \ - $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS; \ + cd JUAFS && \ + $(MAKE) $(LIBJUAFS) DESTDIR=${DESTDIR} LIBJUAFS_FLAGS=-DAFS_WEB_ENHANCEMENTS && \ $(RANLIB) $(LIBJUAFS) AFSWEB/$(LIBAFSWEB): setup_nsafs - cd AFSWEB; \ - $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR}; \ + cd AFSWEB && \ + $(MAKE) $(LIBAFSWEB) DESTDIR=${DESTDIR} && \ $(RANLIB) $(LIBAFSWEB) AFSWEB/$(LIBAFSWEBKRB): setup_nsafs - cd AFSWEB; \ - $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR}; \ + cd AFSWEB && \ + $(MAKE) $(LIBAFSWEBKRB) DESTDIR=${DESTDIR} && \ $(RANLIB) $(LIBAFSWEBKRB) include ${TOP_OBJDIR}/src/config/Makefile.version -- 2.39.5