--- ./Makefile.orig 2014-06-23 23:32:51.000000000 -0400 +++ ./Makefile 2014-06-23 23:34:59.000000000 -0400 @@ -8,9 +8,9 @@ PROGRAM= mkreadmes VERSION= 1.3 PREFIX?= /usr/local # allow user to override install prefix -BINDIR= ${PREFIX}/sbin -DATADIR= ${PREFIX}/share/${PROGRAM} -MANDIR= ${PREFIX}/man/man1 +BINDIR= ${DESTDIR}${PREFIX}/sbin +DATADIR= ${DESTDIR}${PREFIX}/share/${PROGRAM} +MANDIR= ${DESTDIR}${PREFIX}/man/man1 TEMPLATESDIR= ${DATADIR}/Templates SRCS= index.c init.c main.c ${PROGRAM}.c util.c ${PROGRAM}.h INCLUDES= /usr/include