forked from github/abduco
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:
parent
fcac3b17ed
commit
070e34b502
8
Makefile
8
Makefile
|
|
@ -36,9 +36,6 @@ dist: clean
|
||||||
@echo creating dist tarball
|
@echo creating dist tarball
|
||||||
@git archive --prefix=abduco-${VERSION}/ -o abduco-${VERSION}.tar.gz HEAD
|
@git archive --prefix=abduco-${VERSION}/ -o abduco-${VERSION}.tar.gz HEAD
|
||||||
|
|
||||||
install-strip:
|
|
||||||
${MAKE} INSTALL='${INSTALL} -s' install
|
|
||||||
|
|
||||||
install: abduco
|
install: abduco
|
||||||
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
|
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
|
||||||
@${INSTALL} abduco ${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
|
@echo installing zsh completion file to ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions
|
||||||
@install -Dm644 abduco.zsh ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions/_abduco
|
@install -Dm644 abduco.zsh ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions/_abduco
|
||||||
|
|
||||||
|
install-strip: install
|
||||||
|
${STRIP} ${DESTDIR}${PREFIX}/bin/abduco
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
|
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
|
||||||
@rm -f ${DESTDIR}${PREFIX}/bin/abduco
|
@rm -f ${DESTDIR}${PREFIX}/bin/abduco
|
||||||
|
|
@ -57,4 +57,4 @@ uninstall:
|
||||||
@echo removing zsh completion file from ${DESTDIR}/usr/share/zsh/site-functions
|
@echo removing zsh completion file from ${DESTDIR}/usr/share/zsh/site-functions
|
||||||
@rm -f ${DESTDIR}${ZSHPREFIX}/share/zsh/site-functions/_abduco
|
@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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue