aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.in
diff options
context:
space:
mode:
authorbwarsaw <>2003-03-31 19:27:17 +0000
committerbwarsaw <>2003-03-31 19:27:17 +0000
commit5a6aeea41cd141bc4e962381284cbeeefa7bf4d9 (patch)
treeefba6023c0619ad9908383f8ee12783eee262cb9 /tests/Makefile.in
parent0a8e4b05e6dcc298e1d02bf8e5db4e0618e88c00 (diff)
downloadmailman2-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 '')
-rw-r--r--tests/Makefile.in11
1 files changed, 6 insertions, 5 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: