Skip to content

Commit

Permalink
Merge pull request #545 from changweige/add-make-install
Browse files Browse the repository at this point in the history
makefile: add target `install`
  • Loading branch information
imeoer authored Jul 1, 2022
2 parents 5e8a504 + 886c404 commit ff7cdda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ clean:
${CARGO} clean --target-dir ${current_dir}/target-virtiofs
${CARGO} clean --target-dir ${current_dir}/target-fusedev

install: fusedev-release
@sudo install -D -m 755 target-fusedev/release/nydusd /usr/local/bin/nydusd
@sudo install -D -m 755 target-fusedev/release/nydus-image /usr/local/bin/nydus-image

# If virtiofs test must be performed, only run binary part
# Use same traget to avoid re-compile for differnt targets like gnu and musl
ut:
Expand Down

0 comments on commit ff7cdda

Please sign in to comment.