summaryrefslogtreecommitdiff
path: root/devel/pardiff/patches/patch-ac
blob: 8f1966d74e5b6bdb6f4e0545a3372f05aa82de07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ac,v 1.1 2008/06/12 02:14:27 joerg Exp $

--- pardiff/Makefile.in.orig	2008-06-10 15:48:45.000000000 +0000
+++ pardiff/Makefile.in
@@ -277,14 +277,14 @@ mostlyclean distclean maintainer-clean
 
 
 install-data-local:
-	$(mkinstalldirs) ${mandir}/man1/
-	$(INSTALL_DATA) pardiff.1 ${mandir}/man1/pardiff.1
-	$(mkinstalldirs) ${mandir}/man1/
-	$(INSTALL_DATA) diffp.1 ${mandir}/man1/diffp.1
+	$(mkinstalldirs) ${DESTDIR}${mandir}/man1/
+	$(INSTALL_DATA) pardiff.1 ${DESTDIR}${mandir}/man1/pardiff.1
+	$(mkinstalldirs) ${DESTDIR}${mandir}/man1/
+	$(INSTALL_DATA) diffp.1 ${DESTDIR}${mandir}/man1/diffp.1
 
 install-exec-local:
-	$(mkinstalldirs) ${bindir}/
-	$(INSTALL_SCRIPT) diffp ${bindir}/diffp
+	$(mkinstalldirs) ${DESTDIR}${bindir}/
+	$(INSTALL_SCRIPT) diffp ${DESTDIR}${bindir}/diffp
 
 uninstall-local:
 	-rm -f ${bindir}/diffp