aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeszek CimaƂa <ernierasta@zori.cz>2019-12-06 00:48:00 +0100
committerDrew DeVault <sir@cmpwn.com>2019-12-07 14:29:57 -0500
commitcd54bcd041afb744488a4b2047cd2a986d05d090 (patch)
tree3e61b9cdef655cef0ed2676d36ca4ae7db4c5ca0
parente88cc08d792eef8c6785f0fba0eca63089e85f5f (diff)
fix make install directiories permissions
Hi everyone! On my system I have strict umask set, so make install creates them unreadable by non-root. This trivial fix ensures, that directories are created as expected. Leszek
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1c755d..b920f18 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,7 @@ clean:
$(RM) $(DOCS) aerc.conf aerc
install: all
- mkdir -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5 $(MANDIR)/man7 \
+ mkdir -m755 -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5 $(MANDIR)/man7 \
$(SHAREDIR) $(SHAREDIR)/filters $(SHAREDIR)/templates
install -m755 aerc $(BINDIR)/aerc
install -m644 aerc.1 $(MANDIR)/man1/aerc.1