autotools: all target are conditional

pull/521/head
Eric Leblond 12 years ago
parent 77f2b9968e
commit 867a44f378

@ -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

Loading…
Cancel
Save