mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
d98a67a53a
The EXTRA_DIST variable is ignored when used in the FALSE conditional of a Makefile.am. This results in the `make dist` target omitting these files from the generated tarball unless CONFIG_USER is defined. This issue can be avoided by switching to use the dist_noinst_DATA variable which is handled as expected by autoconf. This change also adds support for --with-config=dist as an alias for --with-config=srpm and updates the GitHub workflows to use it. Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #13459 Closes #13505
47 lines
921 B
Makefile
47 lines
921 B
Makefile
include $(srcdir)/%D%/zed.d/Makefile.am
|
|
|
|
zed_CFLAGS = $(AM_CFLAGS)
|
|
zed_CFLAGS += $(LIBUDEV_CFLAGS) $(LIBUUID_CFLAGS)
|
|
|
|
sbin_PROGRAMS += zed
|
|
CPPCHECKTARGETS += zed
|
|
|
|
zed_SOURCES = \
|
|
%D%/zed.c \
|
|
%D%/zed.h \
|
|
%D%/zed_conf.c \
|
|
%D%/zed_conf.h \
|
|
%D%/zed_disk_event.c \
|
|
%D%/zed_disk_event.h \
|
|
%D%/zed_event.c \
|
|
%D%/zed_event.h \
|
|
%D%/zed_exec.c \
|
|
%D%/zed_exec.h \
|
|
%D%/zed_file.c \
|
|
%D%/zed_file.h \
|
|
%D%/zed_log.c \
|
|
%D%/zed_log.h \
|
|
%D%/zed_strings.c \
|
|
%D%/zed_strings.h \
|
|
\
|
|
%D%/agents/fmd_api.c \
|
|
%D%/agents/fmd_api.h \
|
|
%D%/agents/fmd_serd.c \
|
|
%D%/agents/fmd_serd.h \
|
|
%D%/agents/zfs_agents.c \
|
|
%D%/agents/zfs_agents.h \
|
|
%D%/agents/zfs_diagnosis.c \
|
|
%D%/agents/zfs_mod.c \
|
|
%D%/agents/zfs_retire.c
|
|
|
|
zed_LDADD = \
|
|
libzfs.la \
|
|
libzfs_core.la \
|
|
libnvpair.la \
|
|
libuutil.la
|
|
|
|
zed_LDADD += -lrt $(LIBATOMIC_LIBS) $(LIBUDEV_LIBS) $(LIBUUID_LIBS)
|
|
zed_LDFLAGS = -pthread
|
|
|
|
dist_noinst_DATA += %D%/agents/README.md
|