Cutthrough: support a transport dkim_domain that expands to empty
[exim.git] / src / Makefile
index 86d6f083fa7b32293dcaac5d9e446f140f15d210..5e82de27120790b3b5f91d0f79d2c4aa65c83e7d 100644 (file)
@@ -87,6 +87,12 @@ install:        all
                @cd build-$(buildname); \
                build=$(build) $(SHELL) ../scripts/exim_install $(INSTALL_ARG)
 
+# For testing only; the version number is a dummy.
+# The build for release is done by the release-process script "mk_exim_release"
+
+doc:   FRC
+       cd ../doc/doc-docbook; $(MAKE) EXIM_VER=0 everything
+
 # Tidy-up targets
 
 clean_exim:; cd build-$(buildname); \
@@ -96,12 +102,17 @@ clean_exim:; cd build-$(buildname); \
        done; \
        $(RM_COMMAND) -fr dynmodules
 
-clean: clean_exim
+clean-doc: FRC
+       cd ../doc/doc-docbook; \
+       $(RM_COMMAND) {filter,spec}*.{pdf,ps,txt,html,xml}
+
+clean: clean_exim clean_doc
        @echo ""; echo '*** "make clean" just removes all .o and .a files'
        @echo '*** Use "make makefile" to force a rebuild of the makefile'
        @echo ""
 
-distclean:; $(RM_COMMAND) -rf build-* cscope*
+distclean: clean_doc
+       $(RM_COMMAND) -rf build-* cscope*
 
 cscope.files: FRC
        echo "-q" > $@