Disable docs by default; don't mantest if no docs
This commit is contained in:
1 parent
2b4d51f697
commit
dffba62e13
2 files changed
+5
-1
No files matched your search
@@ -128,7 +128,11 @@ endif
|
|||||||
|
|
||||||
### Tests (make check)
|
### Tests (make check)
|
||||||
|
|
||||||
|
if ENABLE_DOCS
|
||||||
TESTS = tests/optionaltest tests/mantest tests/jqtest tests/onigtest tests/shtest tests/utf8test tests/base64test
|
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)
|
TESTS_ENVIRONMENT = NO_VALGRIND=$(NO_VALGRIND)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ dnl Enable building all static
|
|||||||
AC_ARG_ENABLE([all-static],
|
AC_ARG_ENABLE([all-static],
|
||||||
AC_HELP_STRING([--enable-all-static], [link jq with static libraries only]))
|
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_CHECK_PROGS(pipenv_cmd, pipenv)
|
||||||
|
|
||||||
AC_CACHE_CHECK([for Python dependencies], [jq_cv_python_deps],
|
AC_CACHE_CHECK([for Python dependencies], [jq_cv_python_deps],
|
||||||
|
|||||||
Reference in new issue
Block a user