]> git.proxmox.com Git - mirror_zfs.git/blobdiff - Makefile.am
Fix out-of-order ZIL txtype lost on hardlinked files
[mirror_zfs.git] / Makefile.am
index 782b88c2f4c4559fb09c0e7745885d26651c41e0..9afe22954101267bb3741936dd0c0e42a86b3e1c 100644 (file)
@@ -22,6 +22,14 @@ AUTOMAKE_OPTIONS = foreign
 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
+EXTRA_DIST += CODE_OF_CONDUCT.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@
 
@@ -44,7 +52,8 @@ distclean-local::
                -type f -print | xargs $(RM)
 
 all-local:
-       -${top_srcdir}/scripts/zfs-tests.sh -c
+       -[ -x ${top_builddir}/scripts/zfs-tests.sh ] && \
+           ${top_builddir}/scripts/zfs-tests.sh -c
 
 dist-hook: gitrev
        cp ${top_srcdir}/include/zfs_gitrev.h $(distdir)/include; \
@@ -68,7 +77,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
 
@@ -103,13 +112,20 @@ mancheck:
        fi
 
 testscheck:
-       @find ${top_srcdir}/tests/zfs-tests/tests -type f \
+       @find ${top_srcdir}/tests/zfs-tests -type f \
                \( -name '*.ksh' -not -executable \) -o \
                \( -name '*.kshlib' -executable \) -o \
+               \( -name '*.shlib' -executable \) -o \
                \( -name '*.cfg' -executable \) | \
                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:
@@ -117,7 +133,7 @@ cppcheck:
                cppcheck --quiet --force --error-exitcode=2 --inline-suppr \
                        --suppressions-list=.github/suppressions.txt \
                        -UHAVE_SSE2 -UHAVE_AVX512F -UHAVE_UIO_ZEROCOPY \
-                       -UHAVE_DNLC ${top_srcdir}; \
+                       ${top_srcdir}; \
        else \
                echo "skipping cppcheck because cppcheck is not installed"; \
        fi