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

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/messages/Makefile.in,v
retrieving revision 2.31
retrieving revision 2.31.2.1
diff -u -d -r2.31 -r2.31.2.1
--- Makefile.in 24 Dec 2002 19:04:47 -0000      2.31
+++ Makefile.in 31 Mar 2003 19:27:08 -0000      2.31.2.1
@@ -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 @@
 bindir=        @bindir@
 prefix=        @prefix@
 exec_prefix=   @exec_prefix@
+DESTDIR=
 
 CC=            @CC@
 CHMOD=         @CHMOD@
@@ -87,7 +88,7 @@
 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 @@
            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
 



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

Reply via email to