From 32a839d76af7d72eb3ad360caaa4b2806de4f04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 19 Apr 2020 12:49:37 +0200 Subject: [PATCH] Do not install zsh completion by default Provide dedicated install-completion Makefile target instead. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 156d56b..d59909b 100644 --- a/Makefile +++ b/Makefile @@ -48,12 +48,14 @@ install: abduco installdirs @mkdir -p ${DESTDIR}${MANPREFIX}/man1 @sed "s/VERSION/${VERSION}/g" < abduco.1 > ${DESTDIR}${MANPREFIX}/man1/abduco.1 @chmod 644 ${DESTDIR}${MANPREFIX}/man1/abduco.1 - @echo installing zsh completion file to ${DESTDIR}${SHAREDIR}/zsh/site-functions - @install -Dm644 contrib/abduco.zsh ${DESTDIR}${SHAREDIR}/zsh/site-functions/_abduco install-strip: install ${STRIP} ${DESTDIR}${PREFIX}/bin/abduco +install-completion: + @echo installing zsh completion file to ${DESTDIR}${SHAREDIR}/zsh/site-functions + @install -Dm644 contrib/abduco.zsh ${DESTDIR}${SHAREDIR}/zsh/site-functions/_abduco + uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @rm -f ${DESTDIR}${PREFIX}/bin/abduco @@ -62,4 +64,4 @@ uninstall: @echo removing zsh completion file from ${DESTDIR}${SHAREDIR}/zsh/site-functions @rm -f ${DESTDIR}${SHAREDIR}/zsh/site-functions/_abduco -.PHONY: all clean dist install installdirs install-strip uninstall debug +.PHONY: all clean dist install installdirs install-strip install-completion uninstall debug