]> git.notmuchmail.org Git - notmuch/blobdiff - test/Makefile.local
test: conditionally test help system depending on configured support
[notmuch] / test / Makefile.local
index 2b18bdb92af1b43bcbe25dc15fd6f1e66fc935a2..987441f04f1d689758e6825272d8b9c9210a2841 100644 (file)
@@ -42,10 +42,18 @@ else
        ln -sf /bin/false $@
 endif
 
+$(dir)/have-man: Makefile.config
+ifeq ($(HAVE_SPHINX)$(HAVE_RST2MAN),00)
+       ln -sf /bin/false $@
+else
+       ln -sf /bin/true $@
+endif
+
 .PHONY: test check
 
 TEST_BINARIES=$(dir)/arg-test \
              $(dir)/have-compact \
+             $(dir)/have-man \
              $(dir)/hex-xcode \
              $(dir)/random-corpus \
              $(dir)/parse-time \