]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: install lastb bash-completion
authorKarel Zak <kzak@redhat.com>
Tue, 4 Jan 2022 11:05:58 +0000 (12:05 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Jan 2022 11:05:58 +0000 (12:05 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion/Makemodule.am

index c2a222d758b60fb3b2e29b2ae63e315d092a68cf..f85211476f0fcb943adcd05890439d36ebe1bf2b 100644 (file)
@@ -164,6 +164,9 @@ dist_bashcompletion_DATA += \
 endif
 if BUILD_LAST
 dist_bashcompletion_DATA += bash-completion/last
+install-data-hook-bashcomp-lastb::
+       ln -sf last $(DESTDIR)$(bashcompletiondir)/lastb
+INSTALL_DATA_HOOKS += install-data-hook-bashcomp-lastb
 endif
 if BUILD_LSLOGINS
 dist_bashcompletion_DATA += bash-completion/lslogins