]> git.proxmox.com Git - mirror_zfs.git/blobdiff - Makefile.am
cstyle: Exclude several files from 'make checkstyle'
[mirror_zfs.git] / Makefile.am
index 6c808b6629cdd313073478fb1e1b33207419abac..dfb006b75745f305e5c69b1483e97acebca639d7 100644 (file)
@@ -41,7 +41,8 @@ dist-hook:
                $(distdir)/META
 
 checkstyle:
-       find ${top_srcdir} -name '*.[hc]' -type f -exec scripts/cstyle.pl {} \;
+       @find ${top_srcdir} -name '*.[hc]' ! -name 'zfs_config.*' \
+               ! -name '*.mod.c' -type f -exec scripts/cstyle.pl {} \+
 
 ctags:
        $(RM) $(top_srcdir)/tags