aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortorrinfail <torrinfail@gmail.com>2020-08-12 21:20:36 -0600
committerGitHub <noreply@github.com>2020-08-12 21:20:36 -0600
commit661f3eb4bcdf20dfa97ae58fa8e6f343b07a909e (patch)
tree73f5b96d784538f6cad56cae604a3828cfb8635d /Makefile
parent5dcb2a0d8413b6e12dfcd188567f95d3832bb2bb (diff)
parent507cf284a27d0664b4f981a43ed419a93680e2d2 (diff)
Merge pull request #12 from kdkasad/patch-1
Change `cp`/`chmod` to `install` in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bad5ddd..3cfa764 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,6 @@ clean:
rm -f *.o *.gch dwmblocks
install: output
mkdir -p $(DESTDIR)$(PREFIX)/bin
- cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin
- chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks
+ install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks