astro

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/astro.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit d08656eb042325278d8f791306983dddfe43458c
parent bb7febb5db499661f55dae4fb2b563e9adde7f87
Author: James Milne <shakna-israel@users.noreply.github.com>
Date:   Mon, 31 Jan 2022 22:31:35 +1100

Update Makefile to use install

As discussed in #16 this replaces `cp` with `install`. Both are stdutils, but `install` will handle a whole bunch of edgecases, like creating nested folders, ensuring the right permissions on the file, and so on.
Diffstat:
MMakefile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -3,5 +3,5 @@ PREFIX ?= ~/.local install: - cp astro $(PREFIX)/bin/ + install -m +x astro -d $(PREFIX)/bin