From: Eric Leblond Date: Tue, 3 Sep 2013 11:27:48 +0000 (+0200) Subject: autotools: use builddir instead of srcdir X-Git-Tag: suricata-2.0beta2~401 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77f2b9968e859eb7fd7c00c6eba5f3a36af32abb;p=thirdparty%2Fsuricata.git 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. --- 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: