From: Simon Wilkinson Date: Mon, 13 Jul 2009 22:00:44 +0000 (+0100) Subject: Make UAFS builds stop the main build X-Git-Tag: openafs-devel-1_5_61~98 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=a2d3f60222b29988f78b42608088d4db3da95d9d 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 --- diff --git a/src/libuafs/Makefile.common.in b/src/libuafs/Makefile.common.in index d80127a..e918785 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