Skip to content

Commit

Permalink
Revert using install -D in the Makefile
Browse files Browse the repository at this point in the history
This option isn't available on BSD Make, and was only (re)added by
accident as part of the LLVM compiler work.

This fixes #559.

Changelog: fixed
  • Loading branch information
yorickpeterse committed Jun 13, 2023
1 parent 6c0c699 commit 5469f22
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,16 @@ ${INSTALL_STD}:
cp -r std/src/* "${@}"

${INSTALL_RT}:
install -D -m644 target/release/${RUNTIME_NAME} "${@}"
mkdir -p "$$(dirname ${@})"
install -m644 target/release/${RUNTIME_NAME} "${@}"

${INSTALL_INKO}:
install -D -m755 target/release/inko "${@}"
mkdir -p "$$(dirname ${@})"
install -m755 target/release/inko "${@}"

${INSTALL_LICENSE}:
install -D -m644 LICENSE "${@}"
mkdir -p "$$(dirname ${@})"
install -m644 LICENSE "${@}"

install: ${INSTALL_STD} \
${INSTALL_RT} \
Expand Down

0 comments on commit 5469f22

Please sign in to comment.