Skip to content

Commit

Permalink
Install binary
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpii committed Dec 15, 2017
1 parent 6c369f7 commit dddaaf9
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 @@ -2,7 +2,10 @@ CARGO=cargo
CARGO_FLAGS=

ifneq ($(MODE),debug)
TARGET=target/release/effitask
CARGO_FLAGS+=--release
else
TARGET=target/debug/effitask
endif

all: build
Expand All @@ -11,6 +14,8 @@ build:
$(CARGO) build $(CARGO_FLAGS)

install:
install --directory $(PREFIX)/usr/bin
install $(TARGET) $(PREFIX)/usr/bin/
install --directory $(PREFIX)/usr/share/effitask
install --mode 644 resources/*.png $(PREFIX)/usr/share/effitask/
install --mode 644 resources/*.css $(PREFIX)/usr/share/effitask/
Expand Down

0 comments on commit dddaaf9

Please sign in to comment.