X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FMakefile.local;h=d622eafee7865588ef4a0112225aebed8fe22bd0;hb=44327ca86d8e3563490801f57a2d1ca455d9588e;hp=2b18bdb92af1b43bcbe25dc15fd6f1e66fc935a2;hpb=d647a1917361aaf39d19a2c32df16e8490082a0e;p=notmuch diff --git a/test/Makefile.local b/test/Makefile.local index 2b18bdb9..d622eafe 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -16,7 +16,7 @@ $(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libutil.a $(call quiet,CC) $^ -o $@ $(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libutil.a - $(call quiet,CC) $^ -o $@ -ltalloc + $(call quiet,CC) $^ $(TALLOC_LDFLAGS) -o $@ random_corpus_deps = $(dir)/random-corpus.o $(dir)/database-test.o \ notmuch-config.o command-line-arguments.o \ @@ -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 \