aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-05-22 01:45:40 +0200
committerBrian Behlendorf <[email protected]>2021-06-01 11:38:54 -0700
commitf7d7ee0583819f3c380866affb31fd6f828cb50d (patch)
tree50fa617f72b3b6e33f28a5d46cbd02aa6f965a00 /Makefile.am
parentc3ef9f7528d160faa08bbddfa29d7ad58835e1bd (diff)
Turn checkbashisms into a make target
make_gitrev.sh actually breaks checkbashisms' parser, which /insists/ that the end-of-line " is actually a string start Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12101
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am25
1 files changed, 0 insertions, 25 deletions
diff --git a/Makefile.am b/Makefile.am
index 4fd3f9b3d..8e4fffc5d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,31 +135,6 @@ checkabi: lib
storeabi: lib
$(MAKE) -C lib storeabi
-PHONY += checkbashisms
-checkbashisms:
- @if type checkbashisms > /dev/null 2>&1; then \
- checkbashisms -n -p -x \
- $$(find ${top_srcdir} \
- -name '.git' -prune \
- -o -name 'build' -prune \
- -o -name 'tests' -prune \
- -o -name 'config' -prune \
- -o -name 'zed-functions.sh*' -prune \
- -o -name 'zfs-import*' -prune \
- -o -name 'zfs-mount*' -prune \
- -o -name 'zfs-zed*' -prune \
- -o -name 'smart' -prune \
- -o -name 'paxcheck.sh' -prune \
- -o -name 'make_gitrev.sh' -prune \
- -o -name '90zfs' -prune \
- -o -path '*initramfs/hooks' -prune \
- -o -type f ! -name 'config*' \
- ! -name 'libtool' \
- -exec awk 'FNR==1 && /^#!.*bin\/sh/ {print FILENAME}' {} \+); \
- else \
- echo "skipping checkbashisms because checkbashisms is not installed"; \
- fi
-
PHONY += mancheck
mancheck:
@if type mandoc > /dev/null 2>&1; then \