From: Eric Leblond Date: Tue, 3 Sep 2013 11:29:27 +0000 (+0200) Subject: autotools: all target are conditional X-Git-Tag: suricata-2.0beta2~400 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F521%2Fhead;p=thirdparty%2Fsuricata.git autotools: all target are conditional --- diff --git a/qa/coccinelle/Makefile.am b/qa/coccinelle/Makefile.am index 71dfabf47e..8ceebe0689 100644 --- a/qa/coccinelle/Makefile.am +++ b/qa/coccinelle/Makefile.am @@ -9,13 +9,13 @@ EXTRA_DIST= access-pkt-packet.cocci \ sz3.cocci \ run_check.sh struct-flags.py +if HAVE_COCCINELLE struct-flags.cocci: $(srcdir)/struct-flags.py > $(top_builddir)/qa/coccinelle/struct-flags.cocci -if HAVE_COCCINELLE check: $(top_srcdir)/qa/coccinelle/run_check.sh -endif distclean-local: -rm $(top_builddir)/qa/coccinelle/struct-flags.cocci +endif