diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 6367ebf77..99dc87c94 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ cscope.* *.tar.gz *.patch *.orig +*.log diff --git a/Makefile.am b/Makefile.am index 43891af71..02e104434 100644 --- a/Makefile.am +++ b/Makefile.am @@ -75,7 +75,7 @@ install-data-hook: ln -fs zfs.release spl.release endif -codecheck: cstyle shellcheck flake8 mancheck testscheck +codecheck: cstyle shellcheck flake8 mancheck testscheck vcscheck checkstyle: codecheck commitcheck @@ -117,6 +117,12 @@ testscheck: xargs -r stat -c '%A %n' | \ awk '{c++; print} END {if(c>0) exit 1}' +vcscheck: + @if git rev-parse --git-dir > /dev/null 2>&1; then \ + git ls-files . --exclude-standard --others | \ + awk '{c++; print} END {if(c>0) exit 1}' ; \ + fi + lint: cppcheck paxcheck cppcheck: |