diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index 2b5dfb89d..61e5eb4c0 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -323,7 +323,7 @@ jobs: # Check that the manpage is present test -f /tmp/usr/local/share/man/man1/md5sum.1 # Check that the completion is present - test -f /tmp/usr/local/share/zsh/site-functions/_install + test -f /tmp/usr/local/share/zsh/site-functions/_b2sum test -f /tmp/usr/local/share/bash-completion/completions/head test -f /tmp/usr/local/share/fish/vendor_completions.d/cat.fish env: diff --git a/GNUmakefile b/GNUmakefile index a10d9a53a..8e3ae05ca 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -414,7 +414,7 @@ endif ifeq ($(COMPLETIONS),y) completions: build-coreutils mkdir -p $(BUILDDIR)/completions/zsh $(BUILDDIR)/completions/bash $(BUILDDIR)/completions/fish - $(foreach prog, $(INSTALLEES), \ + $(foreach prog, $(INSTALLEES) $(HASHSUM_PROGS) , \ $(BUILDDIR)/coreutils completion $(prog) zsh > $(BUILDDIR)/completions/zsh/_$(PROG_PREFIX)$(prog) $(newline) \ $(BUILDDIR)/coreutils completion $(prog) bash > $(BUILDDIR)/completions/bash/$(PROG_PREFIX)$(prog) $(newline) \ $(BUILDDIR)/coreutils completion $(prog) fish > $(BUILDDIR)/completions/fish/$(PROG_PREFIX)$(prog).fish $(newline) \ @@ -424,7 +424,7 @@ install-completions: completions mkdir -p $(DESTDIR)$(DATAROOTDIR)/zsh/site-functions mkdir -p $(DESTDIR)$(DATAROOTDIR)/bash-completion/completions mkdir -p $(DESTDIR)$(DATAROOTDIR)/fish/vendor_completions.d - $(foreach prog, $(INSTALLEES), \ + $(foreach prog, $(INSTALLEES) $(HASHSUM_PROGS) , \ $(INSTALL) -m 644 $(BUILDDIR)/completions/zsh/_$(PROG_PREFIX)$(prog) $(DESTDIR)$(DATAROOTDIR)/zsh/site-functions/ $(newline) \ $(INSTALL) -m 644 $(BUILDDIR)/completions/bash/$(PROG_PREFIX)$(prog) $(DESTDIR)$(DATAROOTDIR)/bash-completion/completions/ $(newline) \ $(INSTALL) -m 644 $(BUILDDIR)/completions/fish/$(PROG_PREFIX)$(prog).fish $(DESTDIR)$(DATAROOTDIR)/fish/vendor_completions.d/ $(newline) \