Commit 86ab4d3f authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

[master] Hopefully fix Makefile

It failed to build a test, because the file was generated in another
directory and probably didn't yet exist at the time.
parent 3b6ddc0b
......@@ -16,6 +16,12 @@ CLEANFILES = *.gcno *.gcda
TESTS =
if HAVE_GTEST
../spec_config.h: ../spec_config.h.pre
$(SED) -e "s|@@LOCALSTATEDIR@@|$(localstatedir)|" spec_config.h.pre >$@
CLEANFILES += ../spec_config.h
BUILT_SOURCES = ../spec_config.h
TESTS += run_unittests
run_unittests_SOURCES = $(top_srcdir)/src/lib/dns/tests/unittest_util.h
run_unittests_SOURCES += $(top_srcdir)/src/lib/dns/tests/unittest_util.cc
......@@ -25,6 +31,7 @@ run_unittests_SOURCES += ../change_user.h ../change_user.cc
run_unittests_SOURCES += ../auth_config.h ../auth_config.cc
run_unittests_SOURCES += ../command.h ../command.cc
run_unittests_SOURCES += ../common.h ../common.cc
run_unittests_SOURCES += ../spec_config.h
run_unittests_SOURCES += ../statistics.h ../statistics.cc
run_unittests_SOURCES += auth_srv_unittest.cc
run_unittests_SOURCES += config_unittest.cc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment