summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-22 12:13:45 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-22 12:13:45 -0400
commit8140c2627f28426b538b2084b2c6d0290aa335c4 (patch)
treef5c434da740c750c70d096659d432571dedad63c /Makefile
parent4d2bd99c40a0774b0d79581a7247da835a2d53ef (diff)
manual added
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d925a7e..b10fcb9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
.POSIX:
PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
install:
mkdir -p $(DESTDIR)$(PREFIX)/bin
@@ -14,8 +15,9 @@ install:
chmod 755 $(DESTDIR)$(PREFIX)/bin/mailsync
mkdir -p /usr/share/mutt-wizard
cp -f mailcap /usr/share/mutt-wizard
- cp -f muttrc /usr/share/mutt-wizard
+ cp -f mutt-wizard.muttrc /usr/share/mutt-wizard
cp -f domains.csv /usr/share/mutt-wizard
+ cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/mw