From: Kern Sibbald Date: Mon, 27 Jul 2009 21:03:23 +0000 (+0000) Subject: Add DESTDIR to Makefile X-Git-Tag: Release-5.0.0~449 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4cb5d5c326a52b489f85ad20bf04c23062ee3352;p=bacula%2Fbacula Add DESTDIR to Makefile git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9113 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/Makefile.in b/bacula/Makefile.in index 2245a2a664..1d4b15ad9a 100755 --- a/bacula/Makefile.in +++ b/bacula/Makefile.in @@ -45,7 +45,7 @@ LIBTOOL_DEPS = @LIBTOOL_DEPS@ all: Makefile @for I in ${all_subdirs}; \ do (cd $$I; echo "==>Entering directory `pwd`"; \ - $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ + $(MAKE) DESTDIR=$(DESTDIR) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \ echo ""; echo "";)); \ done @@ -56,7 +56,7 @@ depend: bacula-fd: Makefile @for I in ${fd_subdirs}; \ do (cd $$I; echo "==>Entering directory `pwd`"; \ - $(MAKE) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======; \ + $(MAKE) DESTDIR=$(DESTDIR) all || (echo ""; echo ""; echo " ====== Error in `pwd` ======; \ echo ""; echo "";)); \ done