Skip to content

Commit

Permalink
Merge pull request #765 from Mossaka/mossaka/Makefile-fix
Browse files Browse the repository at this point in the history
Makefile: fixed the install path issue
  • Loading branch information
Mossaka authored Dec 6, 2024
2 parents 84fadbc + ee67053 commit e7371fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ install: $(RUNTIMES:%=install-%);

install-%:
mkdir -p $(PREFIX)/bin
$(INSTALL) $(TARGET_DIR)$(TARGET)/$(OPT_PROFILE)/containerd-shim-$*-v1 $(PREFIX)/bin/
$(INSTALL) $(TARGET_DIR)$(if $(TARGET),$(TARGET)/,)$(OPT_PROFILE)/containerd-shim-$*-v1 $(PREFIX)/bin/

install-oci-tar-builder:
mkdir -p $(PREFIX)/bin
$(INSTALL) $(TARGET_DIR)$(TARGET)/$(OPT_PROFILE)/oci-tar-builder $(PREFIX)/bin/
$(INSTALL) $(TARGET_DIR)$(if $(TARGET),$(TARGET)/,)$(OPT_PROFILE)/oci-tar-builder $(PREFIX)/bin/

.PHONY: dist dist-%
dist: $(RUNTIMES:%=dist-%);
Expand Down

0 comments on commit e7371fe

Please sign in to comment.