From ed1f45b5270a7a3869971694a744d45e599f29ce Mon Sep 17 00:00:00 2001
From: Kriss <kriss72xxxxx@gmail.com>
Date: Tue, 23 Apr 2019 15:59:57 +0200
Subject: create man folder before copying the manpage there

I was wondering why the install failed... :laughing:
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 6a37eef..6a4ee2e 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ install:
 	cp -f bin/mailsync $(DESTDIR)$(PREFIX)/bin
 	chmod 755 $(DESTDIR)$(PREFIX)/bin/mailsync
 	mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard
+	mkdir -p $(DESTDIR)$(MANPREFIX)/man1
 	cp -f mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard
 	cp -f mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard
 	cp -f domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard
-- 
cgit v1.2.3