diff --git a/extensions/spellcheck/hunspell/Makefile.in b/extensions/spellcheck/hunspell/Makefile.in index 227d2c6d79a..091b24a8e1b 100644 --- a/extensions/spellcheck/hunspell/Makefile.in +++ b/extensions/spellcheck/hunspell/Makefile.in @@ -44,15 +44,15 @@ include $(DEPTH)/config/autoconf.mk MODULE = hunspell DIRS = src +ifdef ENABLE_TESTS XPCSHELL_TESTS = tests/unit - ABS_topsrcdir = $(call core_abspath,$(topsrcdir)) - libs:: $(NSINSTALL) -D $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data cd $(srcdir)/tests; $(PYTHON) $(ABS_topsrcdir)/config/nsinstall.py \ ./ \ $(call core_abspath,$(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data/) +endif include $(topsrcdir)/config/rules.mk