From aca3ee9e23afe67e9ae3b8a4a1ba9cf892c2a723 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Tue, 27 Feb 2024 00:12:57 +0200 Subject: [PATCH] fix installer --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 582107669..539bf7dd9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -94,11 +94,11 @@ all: $(_TARGETS) install: all mkdir -p $(DESTDIR)$(PREFIX)/bin - for i in $(_TARGETS); do install -m755 $$i $(DESTDIR)$(PREFIX)/bin/$(subst .bin,,$$i); done + for i in $(subst .bin,,$(_TARGETS)); do install -m755 $$i.bin $(DESTDIR)$(PREFIX)/bin/$$i; done install-strip: install - for i in $(_TARGETS); do strip $(DESTDIR)$(PREFIX)/bin/$(subst .bin,,$$i); done + for i in $(subst .bin,,$(_TARGETS)); do strip $(DESTDIR)$(PREFIX)/bin/$$i; done $(_USTR): $(_USTR_SRCS:%.c=$(_BUILD)/%.o)