Browse Source

Makefile: replace install(1) with mkdir, rm, cp, chmod

install(1) is missing in some systems, so replace it with POSIX tools.

Closes #83.
jmap-eventsource
Manos Pitsidianakis 1 year ago
parent
commit
43d3d3681e
Signed by untrusted user: epilys GPG Key ID: 73627C2F690DF710
  1. 5
      Makefile

5
Makefile

@ -137,7 +137,10 @@ install-bin: meli
*:${DESTDIR}${BINDIR}:*) echo -n "";; \
*) echo "\n${RED}${BOLD}WARNING${ANSI_RESET}: ${UNDERLINE}Path ${DESTDIR}${BINDIR} is not contained in your PATH variable.${ANSI_RESET} Consider adding it if necessary.\nPATH variable: ${PATH}";; \
esac
@install -D ./${CARGO_TARGET_DIR}/release/meli $(DESTDIR)${BINDIR}/meli
@mkdir -p $(DESTDIR)${BINDIR}
@rm -f $(DESTDIR)${BINDIR}/meli
@cp ./${CARGO_TARGET_DIR}/release/meli $(DESTDIR)${BINDIR}/meli
@chmod 755 $(DESTDIR)${BINDIR}/meli
.PHONY: install

Loading…
Cancel
Save