mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-26 22:06:26 +00:00
Merge pull request #73 from lilydjwg/master
Use the "install" program to install
This commit is contained in:
commit
b6af699bbb
6
Makefile
6
Makefile
@ -15,8 +15,10 @@ build-no-git:
|
||||
INSTALL = $(PREFIX)/bin/exa
|
||||
|
||||
$(INSTALL):
|
||||
cp target/release/exa $(PREFIX)/bin/
|
||||
cp contrib/man/*.1 $(PREFIX)/share/man/man1/
|
||||
# BSD and OSX don't have -D to create leading directories
|
||||
install -dm755 $(PREFIX)/bin/ $(PREFIX)/share/man/man1/
|
||||
install -sm755 target/release/exa $(PREFIX)/bin/
|
||||
install -m644 contrib/man/*.1 $(PREFIX)/share/man/man1/
|
||||
|
||||
install: build $(INSTALL)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user