ee32ff12e2
ok sthen@
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.4 2013/04/12 10:39:04 ajacoutot Exp $
|
|
|
|
stop building when an error occurs, rather than just keep on with the
|
|
next subdir..
|
|
|
|
--- Makefile.in.orig Tue Feb 19 20:21:35 2013
|
|
+++ Makefile.in Fri Apr 12 07:02:31 2013
|
|
@@ -42,18 +42,18 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
|
|
#-------------------------------------------------------------------------
|
|
|
|
all: Makefile
|
|
- @for I in ${all_subdirs}; \
|
|
+ @set -e; for I in ${all_subdirs}; \
|
|
do (cd $$I; echo "==>Entering directory `pwd`"; \
|
|
$(MAKE) DESTDIR=$(DESTDIR) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
|
|
echo ""; echo ""; exit 1;)); \
|
|
done
|
|
|
|
depend:
|
|
- @for I in ${all_subdirs}; \
|
|
+ @set -e; for I in ${all_subdirs}; \
|
|
do (cd $$I; echo "==>Entering directory `pwd`"; $(MAKE) DESTDIR=$(DESTDIR) $@ || exit 1); done
|
|
|
|
bacula-fd: Makefile
|
|
- @for I in ${fd_subdirs}; \
|
|
+ @set -e; for I in ${fd_subdirs}; \
|
|
do (cd $$I; echo "==>Entering directory `pwd`"; \
|
|
$(MAKE) DESTDIR=$(DESTDIR) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
|
|
echo ""; echo ""; exit 1;)); \
|
|
@@ -107,12 +107,6 @@ installdirs:
|
|
-if test ! -d $(DESTDIR)$(working_dir) ; then \
|
|
$(MKDIR) $(DESTDIR)$(working_dir); \
|
|
chmod 770 $(DESTDIR)$(working_dir); \
|
|
- fi
|
|
- -if test "x$(dir_user)" != "x" ; then \
|
|
- chown $(dir_user) $(DESTDIR)$(working_dir); \
|
|
- fi
|
|
- -if test "x$(dir_group)" != "x" ; then \
|
|
- chgrp $(dir_group) $(DESTDIR)$(working_dir); \
|
|
fi
|
|
|
|
gnomedirs:
|