Description: Update the folders in which axmail is installed
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2016-09-06

--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 all: axmail
 
-MAN_DIR = /usr/local/share/man
+MAN_DIR = debian/axmail/usr/share/man
 CC = gcc
 LD = gcc
 # CFLAGS = -O2 -Wstrict-prototypes -g -I../lib
@@ -15,16 +15,16 @@
 install: installbin installconf installhelp installman
 
 installbin: all
-	install -m 0755 -s -o root -g root axmail	 /usr/local/sbin
+	install -m 0755 -s -o root -g root axmail	 debian/axmail/usr/sbin
 
 installconf:
-	install -m 755    -o root -g root -d		/usr/local/etc/ax25
-	install -m 644    -o root -g root etc/axmail.conf /usr/local/etc/ax25
-	install -m 644    -o root -g root etc/welcome.txt /usr/local/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    -o root -g root -d		  /usr/local/var/ax25/axmail/help
-	install -m 644    -o root -g root etc/help/*.hlp  /usr/local/var/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 644    -p man/axmail.8	$(MAN_DIR)/man8
