Disable docs by default; don't mantest if no docs

This commit is contained in:
Nicolas Williams committed 2019-03-24 23:36:50 -05:00
1 parent 2b4d51f697
commit dffba62e13
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -128,7 +128,11 @@ endif
### Tests (make check)
if ENABLE_DOCS
TESTS = tests/optionaltest tests/mantest tests/jqtest tests/onigtest tests/shtest tests/utf8test tests/base64test
else
TESTS = tests/optionaltest tests/jqtest tests/onigtest tests/shtest tests/utf8test tests/base64test
endif
TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND)
+1 -1
View File
@@ -86,7 +86,7 @@ dnl Enable building all static
AC_ARG_ENABLE([all-static],
AC_HELP_STRING([--enable-all-static], [link jq with static libraries only]))
AS_IF([test "x$enable_docs" != "xno"],[
AS_IF([test "x$enable_docs" = "xyes"],[
AC_CHECK_PROGS(pipenv_cmd, pipenv)
AC_CACHE_CHECK([for Python dependencies], [jq_cv_python_deps],