mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
autoconf: use include directives instead of recursing down scripts
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13316
This commit is contained in:
+6
-4
@@ -1,6 +1,7 @@
|
||||
CLEANFILES =
|
||||
EXTRA_DIST =
|
||||
INSTALL_DATA_HOOKS =
|
||||
ALL_LOCAL =
|
||||
|
||||
include $(top_srcdir)/config/Shellcheck.am
|
||||
include $(top_srcdir)/config/Rules.am
|
||||
@@ -16,7 +17,8 @@ endif
|
||||
|
||||
CPPCHECKDIRS += etc/systemd/system-generators
|
||||
if CONFIG_USER
|
||||
SUBDIRS += scripts . man tests etc contrib
|
||||
SUBDIRS += . man tests etc contrib
|
||||
include $(srcdir)/%D%/scripts/Makefile.am
|
||||
include $(srcdir)/%D%/lib/Makefile.am
|
||||
include $(srcdir)/%D%/cmd/Makefile.am
|
||||
if BUILD_LINUX
|
||||
@@ -83,8 +85,8 @@ distclean-local:
|
||||
-o -name '*.gcno' \) \
|
||||
-type f -delete
|
||||
|
||||
all-local:
|
||||
-SCRIPT_COMMON=$(top_builddir)/scripts/common.sh $(top_srcdir)/scripts/zfs-tests.sh -c
|
||||
PHONY += $(ALL_LOCAL)
|
||||
all-local: $(ALL_LOCAL)
|
||||
|
||||
dist-hook:
|
||||
$(top_srcdir)/scripts/make_gitrev.sh -D $(distdir) $(GITREV)
|
||||
@@ -122,7 +124,7 @@ cstyle:
|
||||
|
||||
filter_executable = -exec test -x '{}' \; -print
|
||||
|
||||
SHELLCHECKDIRS = contrib etc scripts tests
|
||||
SHELLCHECKDIRS = contrib etc tests
|
||||
SHELLCHECKSCRIPTS += autogen.sh
|
||||
|
||||
PHONY += mancheck
|
||||
|
||||
Reference in New Issue
Block a user