03de2da4f4
ok sthen@
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
$OpenBSD: patch-Makefile_in,v 1.3 2012/09/14 08:14:31 ajacoutot Exp $
|
|
|
|
stop building when an error occurs, rather than just keep on with the
|
|
next subdir..
|
|
|
|
--- Makefile.in.orig Tue Sep 11 11:26:24 2012
|
|
+++ Makefile.in Thu Sep 13 08:19:35 2012
|
|
@@ -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;)); \
|
|
@@ -100,12 +100,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:
|