diff -up dnscap-134/Makefile.in.installfix dnscap-134/Makefile.in
--- dnscap-134/Makefile.in.installfix 2012-01-06 13:18:32.207596332 +0100
+++ dnscap-134/Makefile.in 2012-01-06 13:19:58.580734469 +0100
@@ -45,11 +45,11 @@ OBJS= ${prog}.o \
all: ${prog} ${prog}.cat1
install: all
- mkdir -p ${bindir} ${mandir}
- if [ -f ${bindir}/${prog} ]; then \
- mv -f ${bindir}/${prog} ${bindir}/${prog}.old; fi
- cp ${prog} ${bindir}
- cp ${prog}.cat1 /usr/local/man/cat1/${prog}.1
+ mkdir -p ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man1
+ if [ -f ${DESTDIR}${bindir}/${prog} ]; then \
+ mv -f ${DESTDIR}${bindir}/${prog} ${DESTDIR}${bindir}/${prog}.old; fi
+ cp ${prog} ${DESTDIR}${bindir}
+ cp ${prog}.1 ${DESTDIR}${mandir}/man1
.c.o:
${CC} ${CFLAGS} -c $<