From 867a44f378f1efbe5e5f2188cdd32325bb4d4dc2 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 3 Sep 2013 13:29:27 +0200 Subject: [PATCH] autotools: all target are conditional --- qa/coccinelle/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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