Use the "install" program to install

This commit is contained in:
lilydjwg 2015-07-30 18:28:06 +08:00
parent d710151ea9
commit cc1594360a

View File

@ -15,8 +15,8 @@ build-no-git:
INSTALL = $(PREFIX)/bin/exa
$(INSTALL):
cp target/release/exa $(PREFIX)/bin/
cp contrib/man/*.1 $(PREFIX)/share/man/man1/
install -Dsm755 target/release/exa $(PREFIX)/bin/
install -Dm644 contrib/man/*.1 -t $(PREFIX)/share/man/man1/
install: build $(INSTALL)