Skip to content

Commit

Permalink
Disable docs by default; don't mantest if no docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Mar 7, 2019
1 parent 87863cd commit f49f803
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)

lib_LTLIBRARIES += somod.la
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if test "x$enable_all_static" != xyes; then
AC_FIND_FUNC([dlopen], [dl], [#include <dlfcn.h>], [0, 0])
fi

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],
Expand Down

0 comments on commit f49f803

Please sign in to comment.