Skip to content

Commit

Permalink
Merge pull request #599 from rphillips/add_install_target
Browse files Browse the repository at this point in the history
add install target
  • Loading branch information
rphillips authored Aug 4, 2022
2 parents 6b27a03 + 62ba1b3 commit 393577a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,8 @@ create-release-packages: release
cargo vendor -q && tar zcf $(PACKAGE_NAME)-vendor.tar.gz vendor && rm -rf vendor
git archive --format tar --prefix=conmonrs-$(CI_TAG)/ $(CI_TAG) | gzip >$(PACKAGE_NAME).tar.gz


.PHONY: install
install:
mkdir -p "${DESTDIR}$(PREFIX)/bin"
install -D -t "${DESTDIR}$(PREFIX)" target/release/conmonrs

0 comments on commit 393577a

Please sign in to comment.