diff --git a/Makefile b/Makefile
index d9d2cea..418cfa5 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,15 @@ MANTITLE=	Additional Software
 
 VERSION=	1.11
 
-PREFIX=		/usr/local/
-BINPREFIX=	${PREFIX}/bin/
-MANPREFIX=	${PREFIX}/man/man${MANSEC}/
+PREFIX=		/usr
+BINPREFIX=	$(DESTDIR)${PREFIX}/bin/
+MANPREFIX=	$(DESTDIR)${PREFIX}/share/man/man${MANSEC}/
 
 all:	dnstracer dnstracer.8
 
 install:
+	install -d -m 755 ${BINPREFIX}
+	install -d -m 755 ${MANPREFIX}
 	install dnstracer ${BINPREFIX}
 	install dnstracer.8 ${MANPREFIX}
 
