aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-06-19 10:22:20 +0200
committerRobin Jarry <robin@jarry.cc>2023-06-19 21:27:08 +0200
commit8e0cc222e2c978fc2faf5825af7f26f72475369d (patch)
tree601540cb2836c6b362d422a44f1878ae07482267 /Makefile
parent130958f5a494b232887a3d086bf9901195662353 (diff)
downloadaerc-8e0cc222e2c978fc2faf5825af7f26f72475369d.tar.gz
mk: do not create $(DESTDIR)$(SHAREDIR)/filters
This folder is not used anymore and remains empty. Some distros complain about empty folders. Add note about why we need to create these folders. Link: https://ss64.com/osx/install.html Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 724b2755..11b7c42c 100644
--- a/Makefile
+++ b/Makefile
@@ -112,8 +112,11 @@ clean:
$(RM) $(DOCS) aerc wrap colorize
install: $(DOCS) aerc wrap colorize
+ @# `install -D` is not supported on all platforms (macos install(1)
+ @# dates back to the middle ages and does not have this flag).
+ @# The folders must be created manually first.
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \
- $(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets \
+ $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets \
$(DESTDIR)$(PREFIX)/share/applications $(DESTDIR)$(LIBEXECDIR)/filters
install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
install -m755 contrib/carddav-query $(DESTDIR)$(BINDIR)/carddav-query