From 77f2b9968e859eb7fd7c00c6eba5f3a36af32abb Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 3 Sep 2013 13:27:48 +0200 Subject: [PATCH] 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. --- src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 29e16d9356..7ff6b1b343 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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: