X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2FMakefile.local;h=987441f04f1d689758e6825272d8b9c9210a2841;hb=3c13bc0321baaf340663779d6fce2b1f34c1c2c3;hp=ae9db809a1e086f10787a147c7cbfe2c3ade5f32;hpb=68c2c5d31ccbfd43052e4e5e9abcfe285fc205c8;p=notmuch diff --git a/test/Makefile.local b/test/Makefile.local index ae9db809..987441f0 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -35,9 +35,25 @@ $(dir)/symbol-test: $(dir)/symbol-test.o lib/$(LINKER_NAME) $(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o $(call quiet,CC) $^ -o $@ +$(dir)/have-compact: Makefile.config +ifeq ($(HAVE_XAPIAN_COMPACT),1) + ln -sf /bin/true $@ +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 \