]> git.armaanb.net Git - dwmblocks.git/blobdiff - Makefile
Change `cp`/`chmod` to `install`
[dwmblocks.git] / Makefile
index c45a56304b928a426a4e50892cda3d56b5b61c4a..5f2bb98d143bfdbe18c8abb71cc3def859b46a33 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,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