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

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/src/Makefile.in,v
retrieving revision 2.10
retrieving revision 2.10.2.1
diff -u -d -r2.10 -r2.10.2.1
--- Makefile.in 12 Dec 2002 04:30:37 -0000      2.10
+++ Makefile.in 31 Mar 2003 19:27:14 -0000      2.10.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
@@ -25,6 +25,7 @@
 VPATH=         @srcdir@
 srcdir=        @srcdir@
 bindir=        @bindir@
+DESTDIR=
 
 CC=            @CC@
 CHMOD=         @CHMOD@
@@ -107,22 +108,22 @@
 install: all
        for f in $(CGI_PROGS); \
        do \
-           exe=$(CGIDIR)/$$f$(CGIEXT); \
+           exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \
            $(INSTALL_PROGRAM) $$f $$exe; \
            $(DIRSETGID) $$exe; \
        done
        for f in $(MAIL_PROGS); \
        do \
-           $(INSTALL_PROGRAM) $$f $(MAILDIR); \
-           $(DIRSETGID) $(MAILDIR)/$$f; \
+           $(INSTALL_PROGRAM) $$f $(DESTDIR)$(MAILDIR); \
+           $(DIRSETGID) $(DESTDIR)$(MAILDIR)/$$f; \
        done
 
 finish:
        -for f in $(SUID_CGI_PROGS); \
        do \
-           exe=$(CGIDIR)/$$f$(CGIEXT); \
-           chmod u+s $$exe; \
+           exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \
            chown $(MAILMAN_USER) $$exe; \
+           chmod u+s $$exe; \
        done
 
 clean:



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

Reply via email to