aboutsummaryrefslogtreecommitdiffstats
path: root/messages
diff options
context:
space:
mode:
authorbwarsaw <>2003-03-31 19:27:17 +0000
committerbwarsaw <>2003-03-31 19:27:17 +0000
commit5a6aeea41cd141bc4e962381284cbeeefa7bf4d9 (patch)
treeefba6023c0619ad9908383f8ee12783eee262cb9 /messages
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 'messages')
-rw-r--r--messages/Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/messages/Makefile.in b/messages/Makefile.in
index e4fb0dde..c7fe096b 100644
--- a/messages/Makefile.in
+++ b/messages/Makefile.in
@@ -1,4 +1,4 @@
-# Copyright (C) 2001,2002 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
@@ -29,6 +29,7 @@ srcdir= @srcdir@
bindir= @bindir@
prefix= @prefix@
exec_prefix= @exec_prefix@
+DESTDIR=
CC= @CC@
CHMOD= @CHMOD@
@@ -87,7 +88,7 @@ install: doinstall
doinstall:
@for d in $(LANGDIRS); \
do \
- dir=$(prefix)/$$d; \
+ dir=$(DESTDIR)$(prefix)/$$d; \
echo "Creating language directory $$dir"; \
$(srcdir)/../mkinstalldirs $$dir; \
chmod $(DIRMODE) $$dir; \
@@ -98,14 +99,14 @@ doinstall:
readme=$(srcdir)/$$d/README.$$d; \
if test -f $$readme; \
then \
- $(INSTALL) -m $(FILEMODE) $$readme $(prefix)/messages/$$d; \
+ $(INSTALL) -m $(FILEMODE) $$readme $(DESTDIR)$(prefix)/messages/$$d; \
fi; \
done
@for d in $(LANGUAGES); \
do \
po=$(srcdir)/$$d/LC_MESSAGES/mailman.po; \
mo=$(srcdir)/$$d/LC_MESSAGES/mailman.mo; \
- dir=$(prefix)/messages/$$d/LC_MESSAGES; \
+ dir=$(DESTDIR)$(prefix)/messages/$$d/LC_MESSAGES; \
$(INSTALL) -m $(FILEMODE) $$po $$mo $$dir; \
done