aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/Makefile.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/Mailman/Makefile.in b/Mailman/Makefile.in
index d6fec07b..7295b2bb 100644
--- a/Mailman/Makefile.in
+++ b/Mailman/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
@@ -27,6 +27,7 @@ srcdir= @srcdir@
bindir= @bindir@
prefix= @prefix@
exec_prefix= @exec_prefix@
+DESTDIR=
CC= @CC@
CHMOD= @CHMOD@
@@ -64,24 +65,24 @@ all:
install-here:
for f in $(MODULES); \
do \
- $(INSTALL) -m $(FILEMODE) $$f $(PACKAGEDIR); \
+ $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(PACKAGEDIR); \
done
- $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(PACKAGEDIR)
- if [ ! -f $(PACKAGEDIR)/mm_cfg.py ]; \
+ $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)
+ if [ ! -f $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py ]; \
then \
- $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(PACKAGEDIR)/mm_cfg.py; \
+ $(INSTALL) -m $(FILEMODE) mm_cfg.py.dist $(DESTDIR)$(PACKAGEDIR)/mm_cfg.py; \
fi
install: install-here
for d in $(SUBDIRS); \
do \
- (cd $$d; $(MAKE) install); \
+ (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
done
finish:
@for d in $(SUBDIRS); \
do \
- (cd $$d; $(MAKE) finish); \
+ (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \
done
clean: