summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2016-05-19 08:59:19 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2016-05-19 08:59:19 -0700
commit25407899e8558961bb8f4637576a018495ac95e5 (patch)
tree9dc87a42b4c1c018d91b553fcf0acbae63076bc4 /Makefile
parent73db8f84d662df8628d53a0dc881675a926d2b83 (diff)
Fix permissions in make install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 322bc25..6104571 100644
--- a/Makefile
+++ b/Makefile
@@ -35,8 +35,10 @@ config.h:
install: fzy
mkdir -p $(DESTDIR)$(BINDIR)
cp fzy $(DESTDIR)$(BINDIR)/
+ chmod 755 ${DESTDIR}${BINDIR}/fzy
mkdir -p $(DESTDIR)$(MANDIR)/man1
cp fzy.1 $(DESTDIR)$(MANDIR)/man1/
+ chmod 644 ${DESTDIR}${MANDIR}/man1/fzy.1
fmt:
clang-format -i *.c *.h