mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +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
555 B
Makefile
30 lines
555 B
Makefile
libuutil_la_CFLAGS = $(AM_CFLAGS) $(LIBRARY_CFLAGS) $(LIBRARY_CFLAGS)
|
|
|
|
lib_LTLIBRARIES += libuutil.la
|
|
CPPCHECKTARGETS += libuutil.la
|
|
|
|
libuutil_la_SOURCES = \
|
|
%D%/uu_alloc.c \
|
|
%D%/uu_avl.c \
|
|
%D%/uu_ident.c \
|
|
%D%/uu_list.c \
|
|
%D%/uu_misc.c \
|
|
%D%/uu_pname.c \
|
|
%D%/uu_string.c
|
|
|
|
libuutil_la_LIBADD = \
|
|
libavl.la \
|
|
libspl.la
|
|
|
|
libuutil_la_LIBADD += $(LTLIBINTL)
|
|
|
|
libuutil_la_LDFLAGS = -pthread
|
|
|
|
if !ASAN_ENABLED
|
|
libuutil_la_LDFLAGS += -Wl,-z,defs
|
|
endif
|
|
|
|
libuutil_la_LDFLAGS += -version-info 3:0:0
|
|
|
|
dist_noinst_DATA += %D%/libuutil.abi %D%/libuutil.suppr
|