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
This commit is contained in:
Leszek Cimała 2019-12-06 00:48:00 +01:00 committed by Drew DeVault
parent e88cc08d79
commit cd54bcd041

View file

@ -58,7 +58,7 @@ clean:
$(RM) $(DOCS) aerc.conf aerc $(RM) $(DOCS) aerc.conf aerc
install: all 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 $(SHAREDIR) $(SHAREDIR)/filters $(SHAREDIR)/templates
install -m755 aerc $(BINDIR)/aerc install -m755 aerc $(BINDIR)/aerc
install -m644 aerc.1 $(MANDIR)/man1/aerc.1 install -m644 aerc.1 $(MANDIR)/man1/aerc.1