When building without having configured with tests enabled before, test/Makefile is missing, so make complains "No rule to make target 'all'". d54ff6c4d67409df5552e1f3eaf848a7c3cc2122 claims that the commit makes building with tests optional, but that is true only if the user has configured with --enable-test before.
This PR fixes that by adding a condition in Makefile.am so that the test directory isn't checked when running make if the user has never built libKXL with tests enabled.
When building without having configured with tests enabled before,
test/Makefile
is missing, so make complains "No rule to make target 'all'". d54ff6c4d67409df5552e1f3eaf848a7c3cc2122 claims that the commit makes building with tests optional, but that is true only if the user has configured with--enable-test
before.This PR fixes that by adding a condition in Makefile.am so that the
test
directory isn't checked when runningmake
if the user has never built libKXL with tests enabled.