From 5a6aeea41cd141bc4e962381284cbeeefa7bf4d9 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Mon, 31 Mar 2003 19:27:17 +0000 Subject: Backporting SF patch #683906, add $DESTDIR to install target, by Ademar de Souza Reis Jr --- templates/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/Makefile.in b/templates/Makefile.in index 9eb369be..17db2c1f 100644 --- a/templates/Makefile.in +++ b/templates/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -25,6 +25,7 @@ srcdir= @srcdir@ bindir= @bindir@ prefix= @prefix@ exec_prefix= @exec_prefix@ +DESTDIR= CC= @CC@ CHMOD= @CHMOD@ @@ -59,10 +60,10 @@ all: install: for d in $(LANGUAGES); \ do \ - $(srcdir)/../mkinstalldirs $(TEMPLATEDIR)/$$d; \ + $(srcdir)/../mkinstalldirs $(DESTDIR)$(TEMPLATEDIR)/$$d; \ for f in $(srcdir)/$$d/*.html $(srcdir)/$$d/*.txt; \ do \ - $(INSTALL) -m $(FILEMODE) $$f $(TEMPLATEDIR)/$$d; \ + $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(TEMPLATEDIR)/$$d; \ done; \ done -- cgit v1.2.3