Use strip explicitly instead of install -s

Some install(1) implementations don't support -s or treat it as a NOP.
This commit is contained in:
Marc André Tanner 2020-04-19 11:51:41 +02:00
parent fcac3b17ed
commit 070e34b502
1 changed files with 4 additions and 4 deletions

View File

@ -36,9 +36,6 @@ dist: clean
@echo creating dist tarball
@git archive --prefix=abduco-${VERSION}/ -o abduco-${VERSION}.tar.gz HEAD
install-strip:
${MAKE} INSTALL='${INSTALL} -s' install
install: abduco
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@${INSTALL} abduco ${DESTDIR}${PREFIX}/bin
@ -49,6 +46,9 @@ install: abduco
@echo installing zsh completion file to ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions
@install -Dm644 abduco.zsh ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions/_abduco
install-strip: install
${STRIP} ${DESTDIR}${PREFIX}/bin/abduco
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
@rm -f ${DESTDIR}${PREFIX}/bin/abduco
@ -57,4 +57,4 @@ uninstall:
@echo removing zsh completion file from ${DESTDIR}/usr/share/zsh/site-functions
@rm -f ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions/_abduco
.PHONY: all clean dist install-strip install uninstall debug
.PHONY: all clean dist install install-strip uninstall debug