summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-01-18 21:36:34 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-01-18 21:36:34 +0000
commit8497e842ec8a55daad7ce936aedf01227fa0f4d1 (patch)
tree91187ab3bf3f81b8f6c7cc3fb1c4b3cb02207cf9
parentaeaf5db33f20a06399b8b15630cd2f5e9755e38a (diff)
Separate make targets for utils and exim. Bug 610
-rw-r--r--src/Makefile8
-rw-r--r--src/OS/Makefile-Base13
2 files changed, 13 insertions, 8 deletions
diff --git a/src/Makefile b/src/Makefile
index 96c0d58ee..bdcfe5a5f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -28,6 +28,14 @@ buildname=$${build:-`$(SHELL) scripts/os-type`-`$(SHELL) scripts/arch-type`}
all: Local/Makefile configure
@cd build-$(buildname); $(MAKE) SHELL=$(SHELL) $(MFLAGS)
+
+# This pair for the convinience of of the Debian maintainers
+exim: Local/Makefile configure
+ @cd build-$(buildname); $(MAKE) SHELL=$(SHELL) $(MFLAGS) exim
+utils: Local/Makefile configure
+ @cd build-$(buildname); $(MAKE) SHELL=$(SHELL) $(MFLAGS) utils
+
+
Local/Makefile:
@echo ""
@echo "*** Please create Local/Makefile by copying src/EDITME and making"
diff --git a/src/OS/Makefile-Base b/src/OS/Makefile-Base
index f82549ded..38d719837 100644
--- a/src/OS/Makefile-Base
+++ b/src/OS/Makefile-Base
@@ -32,7 +32,7 @@ FE = $(FULLECHO)
# up-to-date. Then the os-specific source files and the C configuration file
# are set up, and finally it goes to the main Exim target.
-all: allexim
+all: utils exim
config: $(EDITME) checklocalmake Makefile os.h os.c config.h version.h
checklocalmake:
@@ -95,19 +95,16 @@ config.h: Makefile buildconfig ../src/config.h.defaults $(EDITME)
# therefore always be run, even if the files exist. This shouldn't in fact be a
# problem, but it does no harm. Other make programs will just ignore this.
-.PHONY: all config allexim buildauths buildlookups buildpdkim buildrouters \
+.PHONY: all config utils \
+ buildauths buildlookups buildpdkim buildrouters \
buildtransports checklocalmake clean
-# This is the real default target for all the various exim binaries and
-# scripts, once the configuring stuff is done.
-
-allexim: $(EXIM_MONITOR) exicyclog exinext exiwhat \
+utils: $(EXIM_MONITOR) exicyclog exinext exiwhat \
exigrep eximstats exipick exiqgrep exiqsumm \
transport-filter.pl convert4r3 convert4r4 \
exim_checkaccess \
- exim_dbmbuild exim_dumpdb exim_fixdb exim_tidydb exim_lock \
- exim
+ exim_dbmbuild exim_dumpdb exim_fixdb exim_tidydb exim_lock
# Targets for special-purpose configuration header builders