-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autoconf: use include directives instead of recursing down cmd
No installation diff, dist lost -zfs-2.1.99/cmd/fsck_zfs/fsck.zfs which was distributed erroneously, since it's generated Also clean gitrev on clean Also add -e 'any possible bashisms' to default checkbashisms flags, and fully parallelise it and shellcheck, and it works out-of-tree, too Also align the Release in the dist META file correctly Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13316
- Loading branch information
1 parent
3ff81c4
commit 5cdca5b
Showing
68 changed files
with
508 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,39 @@ | ||
PHONY = | ||
include $(top_srcdir)/config/Shellcheck.am | ||
include $(top_srcdir)/config/CppCheck.am | ||
bin_SCRIPTS = | ||
bin_PROGRAMS = | ||
sbin_SCRIPTS = | ||
sbin_PROGRAMS = | ||
udev_PROGRAMS = | ||
dist_bin_SCRIPTS = | ||
zfsexec_PROGRAMS = | ||
dist_udev_SCRIPTS = | ||
mounthelper_PROGRAMS = | ||
|
||
SUBDIRS = zfs zpool zdb zhack zinject zstream ztest | ||
SUBDIRS += fsck_zfs vdev_id raidz_test zfs_ids_to_path | ||
SUBDIRS += zpool_influxdb | ||
include $(srcdir)/%D%/fsck_zfs/Makefile.am | ||
include $(srcdir)/%D%/raidz_test/Makefile.am | ||
include $(srcdir)/%D%/vdev_id/Makefile.am | ||
include $(srcdir)/%D%/zdb/Makefile.am | ||
include $(srcdir)/%D%/zfs/Makefile.am | ||
include $(srcdir)/%D%/zfs_ids_to_path/Makefile.am | ||
include $(srcdir)/%D%/zhack/Makefile.am | ||
include $(srcdir)/%D%/zinject/Makefile.am | ||
include $(srcdir)/%D%/zpool/Makefile.am | ||
include $(srcdir)/%D%/zpool_influxdb/Makefile.am | ||
include $(srcdir)/%D%/zstream/Makefile.am | ||
include $(srcdir)/%D%/ztest/Makefile.am | ||
|
||
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 BUILD_LINUX | ||
include $(srcdir)/%D%/mount_zfs/Makefile.am | ||
include $(srcdir)/%D%/zed/Makefile.am | ||
include $(srcdir)/%D%/zgenhostid/Makefile.am | ||
include $(srcdir)/%D%/zvol_id/Makefile.am | ||
include $(srcdir)/%D%/zvol_wait/Makefile.am | ||
endif | ||
|
||
if USING_PYTHON | ||
SUBDIRS += arcstat arc_summary dbufstat | ||
include $(srcdir)/%D%/arc_summary/Makefile.am | ||
include $(srcdir)/%D%/arcstat/Makefile.am | ||
include $(srcdir)/%D%/dbufstat/Makefile.am | ||
endif | ||
|
||
if BUILD_LINUX | ||
SUBDIRS += mount_zfs zed zgenhostid zvol_id zvol_wait | ||
CPPCHECKDIRS += mount_zfs zed zgenhostid zvol_id | ||
SHELLCHECKDIRS += zed | ||
endif | ||
PHONY += cmd | ||
cmd: $(bin_SCRIPTS) $(bin_PROGRAMS) $(sbin_SCRIPTS) $(sbin_PROGRAMS) $(udev_PROGRAMS) $(dist_bin_SCRIPTS) $(zfsexec_PROGRAMS) $(dist_udev_SCRIPTS) $(mounthelper_PROGRAMS) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
bin_SCRIPTS = arc_summary | ||
bin_SCRIPTS += arc_summary | ||
CLEANFILES += arc_summary | ||
|
||
CLEANFILES = arc_summary | ||
EXTRA_DIST = arc_summary3 | ||
SCRIPT = arc_summary3 | ||
EXTRA_DIST += %D%/arc_summary3 | ||
ARC_SUMMARY = %D%/arc_summary3 | ||
|
||
arc_summary: $(SCRIPT) | ||
cp $< $@ | ||
arc_summary: $(ARC_SUMMARY) | ||
$(AM_V_at)cp $< $@ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include $(top_srcdir)/config/Substfiles.am | ||
|
||
bin_SCRIPTS = arcstat | ||
|
||
SUBSTFILES += $(bin_SCRIPTS) | ||
bin_SCRIPTS += arcstat | ||
CLEANFILES += arcstat | ||
EXTRA_DIST += %D%/arcstat.in | ||
$(call SUBST,arcstat,%D%/) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
include $(top_srcdir)/config/Substfiles.am | ||
|
||
bin_SCRIPTS = dbufstat | ||
|
||
SUBSTFILES += $(bin_SCRIPTS) | ||
bin_SCRIPTS += dbufstat | ||
CLEANFILES += dbufstat | ||
EXTRA_DIST += %D%/dbufstat.in | ||
$(call SUBST,dbufstat,%D%/) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
include $(top_srcdir)/config/Substfiles.am | ||
include $(top_srcdir)/config/Shellcheck.am | ||
|
||
dist_sbin_SCRIPTS = fsck.zfs | ||
|
||
SUBSTFILES += $(dist_sbin_SCRIPTS) | ||
|
||
sbin_SCRIPTS += fsck.zfs | ||
SHELLCHECKSCRIPTS += fsck.zfs | ||
CLEANFILES += fsck.zfs | ||
EXTRA_DIST += %D%/fsck.zfs.in | ||
$(call SUBST,fsck.zfs,%D%/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
include $(top_srcdir)/config/Rules.am | ||
|
||
# | ||
# Ignore the prefix for the mount helper. It must be installed in /sbin/ | ||
# because this path is hardcoded in the mount(8) for security reasons. | ||
# However, if needed, the configure option --with-mounthelperdir= can be used | ||
# to override the default install location. | ||
# | ||
sbindir=$(mounthelperdir) | ||
sbin_PROGRAMS = mount.zfs | ||
mounthelper_PROGRAMS += mount.zfs | ||
CPPCHECKTARGETS += mount.zfs | ||
|
||
mount_zfs_SOURCES = \ | ||
mount_zfs.c | ||
%D%/mount_zfs.c | ||
|
||
mount_zfs_LDADD = \ | ||
$(abs_top_builddir)/libzfs.la \ | ||
$(abs_top_builddir)/libzfs_core.la \ | ||
$(abs_top_builddir)/libnvpair.la | ||
libzfs.la \ | ||
libzfs_core.la \ | ||
libnvpair.la | ||
|
||
mount_zfs_LDADD += $(LTLIBINTL) | ||
|
||
include $(top_srcdir)/config/CppCheck.am | ||
CPPCHECKTARGETS += mount.zfs | ||
CPPCHECKTARGETS += raidz_test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
include $(top_srcdir)/config/Rules.am | ||
raidz_test_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) | ||
raidz_test_CPPFLAGS = $(AM_CPPFLAGS) $(FORCEDEBUG_CPPFLAGS) | ||
|
||
AM_CFLAGS += $(KERNEL_CFLAGS) | ||
AM_CPPFLAGS += $(FORCEDEBUG_CPPFLAGS) | ||
|
||
bin_PROGRAMS = raidz_test | ||
bin_PROGRAMS += raidz_test | ||
CPPCHECKTARGETS += raidz_test | ||
|
||
raidz_test_SOURCES = \ | ||
raidz_test.h \ | ||
raidz_test.c \ | ||
raidz_bench.c | ||
%D%/raidz_bench.c \ | ||
%D%/raidz_test.c \ | ||
%D%/raidz_test.h | ||
|
||
raidz_test_LDADD = \ | ||
$(abs_top_builddir)/libzpool.la \ | ||
$(abs_top_builddir)/libzfs_core.la | ||
libzpool.la \ | ||
libzfs_core.la | ||
|
||
raidz_test_LDADD += -lm | ||
|
||
include $(top_srcdir)/config/CppCheck.am | ||
CPPCHECKTARGETS += raidz_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
include $(top_srcdir)/config/Shellcheck.am | ||
|
||
dist_udev_SCRIPTS = vdev_id | ||
dist_udev_SCRIPTS += %D%/vdev_id | ||
# TODO: #12084: SHELLCHECKSCRIPTS += %D%/vdev_id |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.