Skip to content

Commit

Permalink
Add shell completions to the Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Feb 29, 2024
1 parent a46763a commit b6fb6a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ uninstall:
# Delete .mo files
rm -f "${DESTDIR}${PREFIX}/usr/share/locale/fr/LC_MESSAGES/${_pkgname}.mo"

# Delete shell completions
rm -f "${DESTDIR}${PREFIX}/share/bash-completion/completions/${pkgname}"
rm -f "${DESTDIR}${PREFIX}/share/zsh/site-functions/_${pkgname}"
rm -f "${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/${pkgname}.fish"

# Delete man pages
rm -f "${DESTDIR}${PREFIX}/share/man/man1/${pkgname}.1.gz"
rm -f "${DESTDIR}${PREFIX}/share/man/man5/${pkgname}.conf.5.gz"
Expand Down

0 comments on commit b6fb6a2

Please sign in to comment.