summaryrefslogtreecommitdiff
path: root/cross/h8300-hms-binutils/patches/patch-ai
blob: 3da7c6dba93f6834206126f2ebe1bbe0f48db6ea (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
26
27
$NetBSD: patch-ai,v 1.1 2010/02/08 05:18:38 dholland Exp $

DESTDIR support

--- ../binutils-2.12.1/etc/Makefile.in.orig	2002-01-26 21:35:45.000000000 +0000
+++ ../binutils-2.12.1/etc/Makefile.in
@@ -68,17 +68,17 @@ info:
 	done
 
 install-info: info
-	$(SHELL) $(srcdir)/../mkinstalldirs $(infodir)
+	$(SHELL) $(srcdir)/../mkinstalldirs ${DESTDIR}$(infodir)
 	if test ! -f standards.info; then cd $(srcdir); fi; \
 	if test -f standards.info; then \
 	  for i in standards.info*; do \
-	    $(INSTALL_DATA) $$i $(infodir)/$$i; \
+	    $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
 	  done; \
 	fi
 	if test ! -f configure.info; then cd $(srcdir); fi; \
 	if test -f configure.info; then \
 	  for i in configure.info*; do \
-	    $(INSTALL_DATA) $$i $(infodir)/$$i; \
+	    $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
 	  done; \
 	fi