mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Install zarcstat and zarcsummary symlinks in Makefile
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Shengqi Chen <harry-chen@outlook.com> Closes #16357 Closes #17695
This commit is contained in:
committed by
Brian Behlendorf
parent
cbc6d57012
commit
f8e2152db7
+5
-1
@@ -107,8 +107,12 @@ $(call SUBST,dbufstat,%D%/)
|
||||
$(call SUBST,zilstat,%D%/)
|
||||
arc_summary: %D%/arc_summary
|
||||
$(AM_V_at)cp $< $@
|
||||
endif
|
||||
|
||||
cmd-rename-install-exec-hook:
|
||||
$(LN_S) arcstat $(DESTDIR)$(bindir)/zarcstat
|
||||
$(LN_S) arc_summary $(DESTDIR)$(bindir)/zarcsummary
|
||||
INSTALL_EXEC_HOOKS += cmd-rename-install-exec-hook
|
||||
endif
|
||||
|
||||
PHONY += cmd
|
||||
cmd: $(bin_SCRIPTS) $(bin_PROGRAMS) $(sbin_SCRIPTS) $(sbin_PROGRAMS) $(dist_bin_SCRIPTS) $(zfsexec_PROGRAMS) $(mounthelper_PROGRAMS)
|
||||
|
||||
@@ -18,6 +18,7 @@ zstream_LDADD = \
|
||||
libzpool.la \
|
||||
libnvpair.la
|
||||
|
||||
PHONY += install-exec-hook
|
||||
install-exec-hook:
|
||||
cmd-zstream-install-exec-hook:
|
||||
cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump
|
||||
|
||||
INSTALL_EXEC_HOOKS += cmd-zstream-install-exec-hook
|
||||
|
||||
Reference in New Issue
Block a user