summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorlilydjwg <lilydjwg@gmail.com>2015-07-30 18:28:06 +0800
committerlilydjwg <lilydjwg@gmail.com>2015-07-30 18:28:06 +0800
commitcc1594360a0c9d5e563a47491026c44e066e7926 (patch)
treead4062b54918631ba56a4a3807cae8432476e04c /Makefile
parentd710151ea9056fcb75c9f374838b7773b12d5c27 (diff)
Use the "install" program to install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3ab8740..58ec176 100644
--- a/Makefile
+++ b/Makefile
@@ -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)