X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile.am;h=02e10443485c190bd5c5157f95490eee71f45ab5;hb=7558997d2f808368867ca7e5234e5793446e8f3f;hp=43891af710ce6dff0b21e5fbcd46ba47b779dd48;hpb=53b5fcd36592140a6d2f10d1d4ffd8bb743a9379;p=mirror_zfs.git 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: