diff options
Diffstat (limited to '')
-rw-r--r-- | tests/Makefile.in | 11 |
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: |