]> git.sur5r.net Git - bacula/bacula/commitdiff
Add DESTDIR to Makefile
authorKern Sibbald <kern@sibbald.com>
Mon, 27 Jul 2009 21:03:23 +0000 (21:03 +0000)
committerKern Sibbald <kern@sibbald.com>
Mon, 27 Jul 2009 21:03:23 +0000 (21:03 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9113 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/Makefile.in

index 2245a2a66439b12a9848b7c8ba386894d403167a..1d4b15ad9ad94672d210e1c4f08874610cd84523 100755 (executable)
@@ -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