]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: add checksmatch target
authorKarel Zak <kzak@redhat.com>
Mon, 12 Sep 2011 11:52:14 +0000 (13:52 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Sep 2011 11:52:14 +0000 (13:52 +0200)
config/include-Makefile.am

index 8c41ad1942fa2419416ab2386f5ddffb018fbb48..e401e538dd4b857e70e0f8c7597e1207a424f934 100644 (file)
@@ -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