d484a7255b
Accidentally introduced by commit dd00925e8d. Force-install the zstreamdump link, this is a supported configuration and the install should not fail if it needs to overwrite an existing file. Also cd to work around some funny platforms as noted in AC_PROG_LN_S doc Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Allan Jude <allan@klarasystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12143
21 lines
450 B
Makefile
21 lines
450 B
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
sbin_PROGRAMS = zstream
|
|
|
|
zstream_SOURCES = \
|
|
zstream.c \
|
|
zstream.h \
|
|
zstream_dump.c \
|
|
zstream_redup.c \
|
|
zstream_token.c
|
|
|
|
zstream_LDADD = \
|
|
$(abs_top_builddir)/lib/libzfs/libzfs.la \
|
|
$(abs_top_builddir)/lib/libzfs_core/libzfs_core.la \
|
|
$(abs_top_builddir)/lib/libnvpair/libnvpair.la
|
|
|
|
include $(top_srcdir)/config/CppCheck.am
|
|
|
|
install-exec-hook:
|
|
cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump
|