diff options
author | bwarsaw <> | 2003-03-31 19:27:17 +0000 |
---|---|---|
committer | bwarsaw <> | 2003-03-31 19:27:17 +0000 |
commit | 5a6aeea41cd141bc4e962381284cbeeefa7bf4d9 (patch) | |
tree | efba6023c0619ad9908383f8ee12783eee262cb9 /tests | |
parent | 0a8e4b05e6dcc298e1d02bf8e5db4e0618e88c00 (diff) | |
download | mailman2-5a6aeea41cd141bc4e962381284cbeeefa7bf4d9.tar.gz mailman2-5a6aeea41cd141bc4e962381284cbeeefa7bf4d9.tar.xz mailman2-5a6aeea41cd141bc4e962381284cbeeefa7bf4d9.zip |
Backporting SF patch #683906, add $DESTDIR to install target, by
Ademar de Souza Reis Jr
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.in | 11 | ||||
-rw-r--r-- | tests/bounces/Makefile.in | 7 | ||||
-rw-r--r-- | tests/msgs/Makefile.in | 7 |
3 files changed, 14 insertions, 11 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in index f04397c4..c4a03a05 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2001 by the Free Software Foundation, Inc. +# Copyright (C) 2001-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,15 +60,15 @@ all: install: for f in $(TEST_MODULES); \ do \ - $(INSTALL) -m $(FILEMODE) $$f $(TESTDIR); \ + $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(TESTDIR); \ done for f in $(EXECS); \ do \ - $(INSTALL) -m $(EXEMODE) $$f $(TESTDIR); \ - done + $(INSTALL) -m $(EXEMODE) $$f $(DESTDIR)$(TESTDIR); \ + done for d in $(SUBDIRS); \ do \ - (cd $$d; $(MAKE) install); \ + (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \ done finish: diff --git a/tests/bounces/Makefile.in b/tests/bounces/Makefile.in index 120832d3..1aaa9ff9 100644 --- a/tests/bounces/Makefile.in +++ b/tests/bounces/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2001 by the Free Software Foundation, Inc. +# Copyright (C) 2001-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@ @@ -56,8 +57,8 @@ all: install: for f in $(BOUNCE_FILES); \ do \ - $(INSTALL) -m $(FILEMODE) $$f $(BOUNCEDIR); \ - done + $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(BOUNCEDIR); \ + done finish: diff --git a/tests/msgs/Makefile.in b/tests/msgs/Makefile.in index 3844820b..b1afe250 100644 --- a/tests/msgs/Makefile.in +++ b/tests/msgs/Makefile.in @@ -1,4 +1,4 @@ -# Copyright (C) 2001 by the Free Software Foundation, Inc. +# Copyright (C) 2001-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@ @@ -56,8 +57,8 @@ all: install: for f in $(MSG_FILES); \ do \ - $(INSTALL) -m $(FILEMODE) $$f $(MSGSDIR); \ - done + $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(MSGSDIR); \ + done finish: |