cstyle: Exclude several files from 'make checkstyle'
The zfs_config.h header and *.mod.c files are both products of the build process. They must be excluded from the style check because they are not part of the pristine source. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #1821
This commit is contained in:
parent
2820bc49c5
commit
351a26ddc0
|
@ -41,7 +41,8 @@ dist-hook:
|
||||||
$(distdir)/META
|
$(distdir)/META
|
||||||
|
|
||||||
checkstyle:
|
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:
|
ctags:
|
||||||
$(RM) $(top_srcdir)/tags
|
$(RM) $(top_srcdir)/tags
|
||||||
|
|
Loading…
Reference in New Issue