diff options
| author | bwarsaw | 2002-04-01 14:51:00 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-04-01 14:51:00 +0000 |
| commit | 03746ddd239e39255fabb84c08e649325572b864 (patch) | |
| tree | bb8bfacae2c3eeab1e37a3b76c7f8f34fea28136 | |
| parent | e3104255d900b18c58f61cddb5f5672d46f2b513 (diff) | |
| download | mailman-03746ddd239e39255fabb84c08e649325572b864.tar.gz mailman-03746ddd239e39255fabb84c08e649325572b864.tar.zst mailman-03746ddd239e39255fabb84c08e649325572b864.zip | |
| -rw-r--r-- | bin/Makefile.in | 5 | ||||
| -rw-r--r-- | bin/convert.py | 8 | ||||
| -rw-r--r-- | bin/fix_url.py | 8 | ||||
| -rwxr-xr-x | configure | 6 | ||||
| -rw-r--r-- | configure.in | 4 |
5 files changed, 25 insertions, 6 deletions
diff --git a/bin/Makefile.in b/bin/Makefile.in index d702a45f5..61c34df97 100644 --- a/bin/Makefile.in +++ b/bin/Makefile.in @@ -46,9 +46,9 @@ SCRIPTS= mmsitepass newlist rmlist add_members \ sync_members check_db withlist check_perms find_member \ version config_list list_lists dumpdb cleanarch \ list_admins genaliases change_pw mailmanctl qrunner inject \ - unshunt + unshunt fix_url.py convert.py -NONSCRIPTS= fix_url.py convert.py +NONSCRIPTS= BUILDDIR= ../build/bin @@ -70,7 +70,6 @@ install: do \ $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(SCRIPTSDIR); \ done - for f in $(NONSCRIPTS); \ do \ $(INSTALL) -m $(FILEMODE) $$f $(SCRIPTSDIR); \ diff --git a/bin/convert.py b/bin/convert.py index cb3cb46c2..24951b5ec 100644 --- a/bin/convert.py +++ b/bin/convert.py @@ -1,3 +1,5 @@ +#! @PYTHON@ +# # Copyright (C) 2002 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or @@ -21,6 +23,7 @@ This script is intended to be run as a bin/withlist script, i.e. % bin/withlist -l -r convert <mylist> """ +import paths from Mailman import Utils from Mailman.i18n import _ @@ -34,3 +37,8 @@ def convert(mlist): mlist.use_dollar_strings = 1 print _('Saving list') mlist.Save() + + + +if __name__ == '__main__': + print _(__doc__.replace('%', '%%')) diff --git a/bin/fix_url.py b/bin/fix_url.py index b0dda1f5b..3806902aa 100644 --- a/bin/fix_url.py +++ b/bin/fix_url.py @@ -1,3 +1,5 @@ +#! @PYTHON@ +# # Copyright (C) 2001,2002 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or @@ -21,6 +23,7 @@ This script is intended to be run as a bin/withlist script, i.e. % bin/withlist -l -r fix_url <mylist> """ +import paths from Mailman import mm_cfg from Mailman.i18n import _ @@ -30,3 +33,8 @@ def fix_url(mlist): mlist.web_page_url = mm_cfg.DEFAULT_URL_PATTERN % mm_cfg.DEFAULT_URL_HOST print _('Saving list') mlist.Save() + + + +if __name__ == '__main__': + print _(__doc__.replace('%', '%%')) @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 2.24 +# From configure.in Revision: 2.25 # Guess values for system-dependent variables and create Makefiles. # Generated automatically using autoconf version 2.13 @@ -1987,8 +1987,10 @@ build/bin/check_perms:bin/check_perms \ build/bin/cleanarch:bin/cleanarch \ build/bin/clone_member:bin/clone_member \ build/bin/config_list:bin/config_list \ +build/bin/convert.py:bin/convert.py \ build/bin/dumpdb:bin/dumpdb \ build/bin/find_member:bin/find_member \ +build/bin/fix_url.py:bin/fix_url.py \ build/bin/genaliases:bin/genaliases \ build/bin/inject:bin/inject \ build/bin/list_admins:bin/list_admins \ @@ -2324,7 +2326,7 @@ chmod -R +x build # Test for the Chinese codecs. echo $ac_n "checking for Python Chinese Unicode codecs""... $ac_c" 1>&6 -echo "configure:2328: checking for Python Chinese Unicode codecs" >&5 +echo "configure:2330: checking for Python Chinese Unicode codecs" >&5 cat > conftest.py <<EOF try: unicode("abc", "big5-tw") diff --git a/configure.in b/configure.in index 9f2cc4ce0..5adcfcc80 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl Process this file with autoconf to produce a configure script. -AC_REVISION($Revision: 4992 $) +AC_REVISION($Revision: 5053 $) AC_PREREQ(2.0) AC_INIT(src/common.h) @@ -475,8 +475,10 @@ bin/check_perms \ bin/cleanarch \ bin/clone_member \ bin/config_list \ +bin/convert.py \ bin/dumpdb \ bin/find_member \ +bin/fix_url.py \ bin/genaliases \ bin/inject \ bin/list_admins \ |
