support CARGO_TARGET_DIR
This commit is contained in:
parent
b1778dabb3
commit
3277435ff9
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -5,6 +5,7 @@ libdir = $(prefix)/lib
|
|||
sharedir = $(prefix)/share
|
||||
|
||||
BINARY = cosmic-comp
|
||||
CARGO_TARGET_DIR ?= target
|
||||
TARGET = debug
|
||||
DEBUG ?= 0
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ ifeq ($(VENDOR),1)
|
|||
endif
|
||||
|
||||
install:
|
||||
install -Dm0755 "target/$(TARGET)/$(BINARY)" "$(TARGET_BIN)"
|
||||
install -Dm0755 "$(CARGO_TARGET_DIR)/$(TARGET)/$(BINARY)" "$(TARGET_BIN)"
|
||||
install -Dm0644 "data/keybindings.ron" "$(KEYBINDINGS_CONF)"
|
||||
|
||||
install-bare-session: install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue