summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-04-29 15:11:16 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-04-29 15:11:16 -0400
commit5ae4758790603dc28a3a1bf8c21a991850b892ab (patch)
treef947ad93eec210a928a37f48dfa7e479548b3c84 /Makefile
parent480fc82f9b7f222c5fdf5da43e22a1518899aa8f (diff)
mailsync manual per debian requirements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 569cd35..b84dff1 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,8 @@ install:
chmod 644 $(DESTDIR)$(PREFIX)/share/mutt-wizard/mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard/domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard/switch.muttrc
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
- chmod 644 $(DESTDIR)$(MANPREFIX)/man1/mw.1
+ cp -f mailsync.1 $(DESTDIR)$(MANPREFIX)/man1/mailsync.1
+ chmod 644 $(DESTDIR)$(MANPREFIX)/man1/mw.1 $(DESTDIR)$(MANPREFIX)/man1/mailsync.1
if [ "$(PREFIX)" ]; then \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \
rm -f $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \
@@ -35,6 +36,6 @@ install:
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/mw $(DESTDIR)$(PREFIX)/bin/mailsync $(DESTDIR)$(PREFIX)/lib/mutt-wizard/openfile
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard $(DESTDIR)$(PREFIX)/lib/mutt-wizard
- rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1
+ rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1 $(DESTDIR)$(MANPREFIX)/man1/mailsync.1
.PHONY: install uninstall