Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1:/tmp/cvs-serv20896/Mailman

Modified Files:
      Tag: Release_2_1-maint
        Makefile.in 
Log Message:
Backporting SF patch #683906, add $DESTDIR to install target, by
Ademar de Souza Reis Jr


Index: Makefile.in
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Makefile.in,v
retrieving revision 2.7
retrieving revision 2.7.2.1
diff -u -d -r2.7 -r2.7.2.1
--- Makefile.in 12 Dec 2002 04:30:35 -0000      2.7
+++ Makefile.in 31 Mar 2003 19:26:58 -0000      2.7.2.1
@@ -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 @@
 bindir=        @bindir@
 prefix=        @prefix@
 exec_prefix=   @exec_prefix@
+DESTDIR=
 
 CC=            @CC@
 CHMOD=         @CHMOD@
@@ -64,24 +65,24 @@
 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:



_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins

Reply via email to