From 56a987c99838c748311f02bc98ae863fb15e5e5f Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 12 Sep 2011 13:52:14 +0200 Subject: build-sys: add checksmatch target --- config/include-Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/include-Makefile.am b/config/include-Makefile.am index 8c41ad194..e401e538d 100644 --- a/config/include-Makefile.am +++ b/config/include-Makefile.am @@ -42,3 +42,9 @@ ul_libmount_incdir = $(ul_libmount_builddir) $(ul_libmount_la): $(MAKE) -C $(ul_libmount_builddir) + +# +# smatch scan -- smatch and cgcc are expected in $PATH +# +checksmatch: + make CHECK="smatch --full-path --no-data" CC=cgcc -- cgit v1.2.3-55-g7522