mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +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
30 lines
689 B
Makefile
30 lines
689 B
Makefile
libzfsbootenv_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS)
|
|
libzfsbootenv_la_CFLAGS += -fvisibility=hidden
|
|
|
|
lib_LTLIBRARIES += libzfsbootenv.la
|
|
CPPCHECKTARGETS += libzfsbootenv.la
|
|
|
|
libzfsbootenv_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
libzfsbootenv_la_CPPFLAGS += -I$(srcdir)/include/os/@ac_system_l@/zfs
|
|
|
|
dist_libzfsbootenv_la_SOURCES = \
|
|
%D%/lzbe_device.c \
|
|
%D%/lzbe_pair.c \
|
|
%D%/lzbe_util.c
|
|
|
|
libzfsbootenv_la_LIBADD = \
|
|
libzfs.la \
|
|
libnvpair.la
|
|
|
|
libzfsbootenv_la_LDFLAGS =
|
|
|
|
if !ASAN_ENABLED
|
|
libzfsbootenv_la_LDFLAGS += -Wl,-z,defs
|
|
endif
|
|
|
|
libzfsbootenv_la_LDFLAGS += -version-info 1:0:0
|
|
|
|
pkgconfig_DATA += %D%/libzfsbootenv.pc
|
|
|
|
dist_noinst_DATA += %D%/libzfsbootenv.abi %D%/libzfsbootenv.suppr
|