aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile.am8
2 files changed, 8 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6367ebf77892..99dc87c9481d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,3 +60,4 @@ cscope.*
*.tar.gz
*.patch
*.orig
+*.log
diff --git a/Makefile.am b/Makefile.am
index 43891af710ce..02e10443485c 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: