Skip to content

Commit

Permalink
fix installer
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Feb 26, 2024
1 parent 284b17d commit aca3ee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aca3ee9

Please sign in to comment.