vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit dc51955a9e57047ed085f84f10095e48acf0646f parent 3e3d64de3f45868786c9d6c4d5763e09dc0785cf Author: Marc André Tanner <mat@brain-dump.org> Date: Wed, 26 Feb 2020 07:31:26 +0100 build: provide install-strip make target Do not strip executables by default. Fix #811 Diffstat:
| M | Makefile | | | 12 | +++++++----- |
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile @@ -145,10 +145,6 @@ luacheck: @luacheck --config .luacheckrc lua test/lua | less -RFX install: $(ELF) - @echo stripping executable - @for e in $(ELF); do \ - ${STRIP} "$$e"; \ - done @echo installing executable files to ${DESTDIR}${PREFIX}/bin @mkdir -p ${DESTDIR}${PREFIX}/bin @for e in ${EXECUTABLES}; do \ @@ -174,6 +170,12 @@ install: $(ELF) chmod 644 "${DESTDIR}${MANPREFIX}/man1/$$m"; \ done +install-strip: install + @echo stripping executables + @for e in $(ELF); do \ + ${STRIP} ${DESTDIR}${PREFIX}/bin/"$$e"; \ + done + uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin @for e in ${EXECUTABLES}; do \ @@ -190,4 +192,4 @@ uninstall: @echo removing support files from ${DESTDIR}${SHAREPREFIX}/vis @rm -rf ${DESTDIR}${SHAREPREFIX}/vis -.PHONY: all clean dist install uninstall debug profile coverage test test-update luadoc luadoc-all luacheck man docker-kill docker docker-clean +.PHONY: all clean dist install install-strip uninstall debug profile coverage test test-update luadoc luadoc-all luacheck man docker-kill docker docker-clean