autotools: use builddir instead of srcdir

srcdir is supposed to be read-only when running distcheck so it is better to
create the log directory in builddir.
pull/521/head
Eric Leblond 12 years ago
parent 1b2f251866
commit 77f2b9968e

@ -411,9 +411,9 @@ AM_CFLAGS = -DLOCAL_STATE_DIR=\"$(localstatedir)\"
if BUILD_UNITTESTS
check-am:
-mkdir $(top_srcdir)/qa/log/
$(top_builddir)/src/suricata -u -l $(top_srcdir)/qa/log/
-rm -rf $(top_srcdir)/qa/log
-mkdir $(top_builddir)/qa/log/
$(top_builddir)/src/suricata -u -l $(top_builddir)/qa/log/
-rm -rf $(top_builddir)/qa/log
endif
distclean-local:

Loading…
Cancel
Save