Merge pull request #12 from kdkasad/patch-1

Change `cp`/`chmod` to `install` in Makefile
This commit is contained in:
torrinfail 2020-08-12 21:20:36 -06:00 committed by GitHub
commit 661f3eb4bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ clean:
rm -f *.o *.gch dwmblocks rm -f *.o *.gch dwmblocks
install: output install: output
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f dwmblocks $(DESTDIR)$(PREFIX)/bin install -m 0755 dwmblocks $(DESTDIR)$(PREFIX)/bin/dwmblocks
chmod 755 $(DESTDIR)$(PREFIX)/bin/dwmblocks
uninstall: uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks rm -f $(DESTDIR)$(PREFIX)/bin/dwmblocks