commit 661f3eb4bcdf20dfa97ae58fa8e6f343b07a909e
parent 5dcb2a0d8413b6e12dfcd188567f95d3832bb2bb
Author: torrinfail <torrinfail@gmail.com>
Date: Wed, 12 Aug 2020 21:20:36 -0600
Merge pull request #12 from kdkasad/patch-1
Change `cp`/`chmod` to `install` in Makefile
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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