aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-11-23 23:08:43 +0100
committerRobin Jarry <robin@jarry.cc>2022-11-24 19:19:10 +0100
commit4db1353d97552b60ff57cbd6987fbe9dc6e6724b (patch)
tree4992db58f11a68433d65797585c731bc604a713c /Makefile
parent15743ca513bc4a7b2f34c0875fc23cda88398b33 (diff)
downloadaerc-4db1353d97552b60ff57cbd6987fbe9dc6e6724b.tar.gz
doc: extract accounts and binds into separate man pages
aerc-config(5) is getting too big and cluttered. Only keep aerc.conf settings in it. Move binds.conf settings in aerc-binds(5) and accounts.conf settings in aerc-accounts(5). Adjust all references accordingly. Update the README to reference the two new man pages. Update the Makefile to install them in proper locations. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 82739bec..2791166c 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ GOSRC+=go.mod go.sum
DOCS := \
aerc.1 \
aerc-search.1 \
+ aerc-accounts.5 \
+ aerc-binds.5 \
aerc-config.5 \
aerc-imap.5 \
aerc-maildir.5 \
@@ -107,6 +109,8 @@ install: $(DOCS) aerc
install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1
+ install -m644 aerc-accounts.5 $(DESTDIR)$(MANDIR)/man5/aerc-accounts.5
+ install -m644 aerc-binds.5 $(DESTDIR)$(MANDIR)/man5/aerc-binds.5
install -m644 aerc-config.5 $(DESTDIR)$(MANDIR)/man5/aerc-config.5
install -m644 aerc-imap.5 $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
install -m644 aerc-maildir.5 $(DESTDIR)$(MANDIR)/man5/aerc-maildir.5
@@ -136,6 +140,8 @@ install: $(DOCS) aerc
checkinstall:
$(DESTDIR)$(BINDIR)/aerc -v
test -e $(DESTDIR)$(MANDIR)/man1/aerc.1
+ test -e $(DESTDIR)$(MANDIR)/man5/aerc-accounts.5
+ test -e $(DESTDIR)$(MANDIR)/man5/aerc-binds.5
test -e $(DESTDIR)$(MANDIR)/man5/aerc-config.5
test -e $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
test -e $(DESTDIR)$(MANDIR)/man5/aerc-notmuch.5
@@ -150,6 +156,8 @@ uninstall:
$(RM) $(DESTDIR)$(BINDIR)/aerc
$(RM) $(DESTDIR)$(MANDIR)/man1/aerc.1
$(RM) $(DESTDIR)$(MANDIR)/man1/aerc-search.1
+ $(RM) $(DESTDIR)$(MANDIR)/man5/aerc-accounts.5
+ $(RM) $(DESTDIR)$(MANDIR)/man5/aerc-binds.5
$(RM) $(DESTDIR)$(MANDIR)/man5/aerc-config.5
$(RM) $(DESTDIR)$(MANDIR)/man5/aerc-imap.5
$(RM) $(DESTDIR)$(MANDIR)/man5/aerc-maildir.5