]> git.proxmox.com Git - mirror_zfs.git/blobdiff - Makefile.am
Add paxcheck make lint target
[mirror_zfs.git] / Makefile.am
index 26f684d5923b3becd27af896e93c36c0b7860f18..0137407e4f003dba59a790760f7d4f2f3a18f0e0 100644 (file)
@@ -55,13 +55,18 @@ shellcheck:
                 done; \
         fi
 
-lint: cppcheck
+lint: cppcheck paxcheck
 
 cppcheck:
        @if type cppcheck > /dev/null 2>&1; then \
                cppcheck --quiet --force --error-exitcode=2 ${top_srcdir}; \
        fi
 
+paxcheck:
+       @if type scanelf > /dev/null 2>&1; then \
+               scripts/paxcheck.sh ${top_srcdir}; \
+       fi
+
 flake8:
        @if type flake8 > /dev/null 2>&1; then \
                flake8 ${top_srcdir}; \