]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Fix latest build-info modification 281/head
authorEric Leblond <eric@regit.org>
Mon, 11 Feb 2013 19:11:53 +0000 (20:11 +0100)
committerEric Leblond <eric@regit.org>
Mon, 11 Feb 2013 21:06:11 +0000 (22:06 +0100)
The creation of build-info.h should have been made in build
directory and not in source directory. This should fix changes
introduced in #738.

configure.ac
src/Makefile.am

index c16bbb679903745cc2592315654cba6cf1fb2a6d..947c2d9889b7cd5e25dabcde92c672ecf1230f2a 100644 (file)
@@ -1531,9 +1531,9 @@ Generic build parameters:
 
 echo
 echo "$SURICATA_BUILD_CONF"
-echo "printf(" >${ac_srcdir}/src/build-info.h
-echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' >>${ac_srcdir}/src/build-info.h
-echo ");" >>${ac_srcdir}/src/build-info.h
+echo "printf(" >${ac_builddir}/src/build-info.h
+echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' >>${ac_builddir}/src/build-info.h
+echo ");" >>${ac_builddir}/src/build-info.h
 
 echo "
 To build and install run 'make' and 'make install'.
index 4278fca5dd3c78d3e56f63eb2957254ecf27b4a8..1bf6b76c6064b4a6f1fccb81bdeca49744f3f691 100644 (file)
@@ -393,3 +393,6 @@ if BUILD_UNITTESTS
 check-am:
        $(top_builddir)/src/suricata -u
 endif
+
+distclean-local:
+       -rm -rf $(top_builddir)/src/build-info.h