]> git.proxmox.com Git - mirror_zfs.git/blobdiff - Makefile.am
kernel_fpu fixes
[mirror_zfs.git] / Makefile.am
index 01ddc388c582ef2d9d0d1218a887457d81374687..02e10443485c190bd5c5157f95490eee71f45ab5 100644 (file)
@@ -23,6 +23,13 @@ EXTRA_DIST  = autogen.sh copy-builtin
 EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
 EXTRA_DIST += META AUTHORS COPYRIGHT LICENSE NEWS NOTICE README.md
 
+# Include all the extra licensing information for modules
+EXTRA_DIST += module/icp/algs/skein/THIRDPARTYLICENSE module/icp/algs/skein/THIRDPARTYLICENSE.descrip
+EXTRA_DIST += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.gladman.descrip
+EXTRA_DIST += module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl module/icp/asm-x86_64/aes/THIRDPARTYLICENSE.openssl.descrip
+EXTRA_DIST += module/spl/THIRDPARTYLICENSE.gplv2 module/spl/THIRDPARTYLICENSE.gplv2.descrip
+EXTRA_DIST += module/zfs/THIRDPARTYLICENSE.cityhash module/zfs/THIRDPARTYLICENSE.cityhash.descrip
+
 @CODE_COVERAGE_RULES@
 
 .PHONY: gitrev
@@ -68,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
 
@@ -110,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: