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 --- cron/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cron/Makefile.in') diff --git a/cron/Makefile.in b/cron/Makefile.in index 2f596751..9365a6d8 100644 --- a/cron/Makefile.in +++ b/cron/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@ @@ -60,11 +61,11 @@ all: install: for f in $(FILES); \ do \ - $(INSTALL) -m $(FILEMODE) $$f $(CRONDIR); \ + $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(CRONDIR); \ done for f in $(PROGRAMS); \ do \ - $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(CRONDIR); \ + $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(DESTDIR)$(CRONDIR); \ done finish: -- cgit v1.2.3