Description: Create folders for axmail install
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2016-09-06

--- a/Makefile
+++ b/Makefile
@@ -15,18 +15,23 @@
 install: installbin installconf installhelp installman
 
 installbin: all
+	install -m 0755	-D -d debian/axmail/usr/sbin
 	install -m 0755 -s -o root -g root axmail	 debian/axmail/usr/sbin
 
 installconf:
+	install -m 755	-D -d debian/axmail/etc/ax25
 	install -m 755    -o root -g root -d		debian/axmail/etc/ax25
 	install -m 644    -o root -g root etc/axmail.conf debian/axmail/etc/ax25
 	install -m 644    -o root -g root etc/welcome.txt debian/axmail/etc/ax25
 
 installhelp:
+	install -m 755	-D -d debian/axmail/var/lib/ax25/axmail/help
 	install -m 755    -o root -g root -d		  debian/axmail/var/lib/ax25/axmail/help
 	install -m 644    -o root -g root etc/help/*.hlp  debian/axmail/var/lib/ax25/axmail/help
 
 installman:
+	install -m 755	-D -d $(MAN_DIR)/man8
+	install -m 755	-D -d $(MAN_DIR)/man5
 	install -m 644    -p man/axmail.8	$(MAN_DIR)/man8
 	install -m 644    -p man/axmail.conf.5	$(MAN_DIR)/man5
 back:
