summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2011-08-27 16:10:52 -0700
committerPhil Pennock <pdp@exim.org>2011-08-27 16:10:52 -0700
commit7f2a2a43f103bf22970a2b87ad8106f1a57b3d57 (patch)
tree0ce3d199bbe0e8d486599ee36b2fbba12758c209 /src/Makefile
parent9e949f00f404d3672b1ecd7c1bfd5e8927a3301d (diff)
downloadexim4-7f2a2a43f103bf22970a2b87ad8106f1a57b3d57.tar.gz
Stop build process more reliably on failure.
Patch from Heiko Schlittermann. Fixes bug 1087
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 76234e9a5..4c8300ca7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -66,7 +66,8 @@ makefile: build-directory
# The installation commands are kept in a separate script, which expects
# to be run from inside the build directory.
-install:; @cd build-$(buildname); \
+install: all
+ @cd build-$(buildname); \
build=$(build) $(SHELL) ../scripts/exim_install $(INSTALL_ARG)
# Tidy-up targets