summaryrefslogtreecommitdiff
path: root/devel/cvsync/patches/patch-aa
blob: 8448549b916f9e5099feef5b8b7325b39b19567d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.5 2006/11/03 19:22:55 joerg Exp $

--- mk/prog.mk.orig	2006-11-03 15:53:01.000000000 +0000
+++ mk/prog.mk
@@ -65,8 +65,8 @@ distclean: clean
 	$(RM) .depend ../mk/defaults.mk *.core *.d *.stackdump
 
 install: all
-	${INSTALL} ${INSTALL_BIN_OPTS} ${PROG} ${BINDIR}/${PROG}
-	${INSTALL} ${INSTALL_MAN_OPTS} ${MAN} ${MANDIR}/man1/${MAN}
+	${INSTALL} ${INSTALL_BIN_OPTS} ${PROG} ${DESTDIR}${BINDIR}/${PROG}
+	${INSTALL} ${INSTALL_MAN_OPTS} ${MAN} ${DESTDIR}${MANDIR}/man1/${MAN}
 
 uninstall:
 	$(RM) ${BINDIR}/${PROG} ${MANDIR}/man1/${MAN}