mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 19:39:35 +03:00
8df0bde321
Change enforced shell type from `dash` to `sh` and excluded `SC2039` and `SC3043` by default. `local` keyword is accepted by all POSIX shells from practical point of view. There is no need anymore to enforce dash so `local` is accepted. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes #13020
28 lines
720 B
Makefile
28 lines
720 B
Makefile
include $(top_srcdir)/config/Shellcheck.am
|
|
|
|
SUBDIRS = zfs zpool zdb zhack zinject zstream ztest
|
|
SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path
|
|
SUBDIRS += zpool_influxdb
|
|
|
|
CPPCHECKDIRS = zfs zpool zdb zhack zinject zstream ztest
|
|
CPPCHECKDIRS += raidz_test zfs_ids_to_path zpool_influxdb
|
|
|
|
# TODO: #12084: SHELLCHECKDIRS += vdev_id
|
|
SHELLCHECKDIRS = fsck_zfs zed zpool zvol_wait
|
|
|
|
if USING_PYTHON
|
|
SUBDIRS += arcstat arc_summary dbufstat
|
|
endif
|
|
|
|
if BUILD_LINUX
|
|
SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait
|
|
CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id
|
|
SHELLCHECKDIRS += zed
|
|
endif
|
|
|
|
PHONY = cppcheck
|
|
cppcheck: $(CPPCHECKDIRS)
|
|
set -e ; for dir in $(CPPCHECKDIRS) ; do \
|
|
$(MAKE) -C $$dir cppcheck ; \
|
|
done
|