diff options
-rw-r--r-- | contrib/README.mailman-config | 7 | ||||
-rw-r--r-- | contrib/mailman-config.py | 22 |
2 files changed, 29 insertions, 0 deletions
diff --git a/contrib/README.mailman-config b/contrib/README.mailman-config new file mode 100644 index 00000000..17f37dd5 --- /dev/null +++ b/contrib/README.mailman-config @@ -0,0 +1,7 @@ +The mailman-config.py script simply displays a few build-time option choices, +along with the option string provided to the configure script on the command +line. The latter is convenient when updating to a new version of Mailman 2, or +when trying to synchronize a manual Mailman installation with a the FHS of a +distribution. + +Currently the script requires python 2.x. diff --git a/contrib/mailman-config.py b/contrib/mailman-config.py new file mode 100644 index 00000000..70492036 --- /dev/null +++ b/contrib/mailman-config.py @@ -0,0 +1,22 @@ +#! @PYTHON@ + +# Show build-time configuration options +# This is free software under the GNU General Public License. +# Send bug reports or suggestions to Lindsay Haisley <fmouse@fmp.com> + +print """Configuration and build information for Mailman\n""" + +print "Mailman version: %s" % "@MM_VERSION@" +print "Build Date: %s" % "@BUILD_DATE@" +print "" +print "prefix: %s" % "@prefix@" +print "var_prefix: %s" % "@VAR_PREFIX@" +print "mailman_user: %s" % "@MAILMAN_USER@" +print "mailman_group: %s" % "@MAILMAN_GROUP@" +print "mail_group: %s" % "@MAIL_GROUP@" +print "cgi_group: %s" % "@CGI_GROUP@" +print "" + + +print "configure_opts: \"%s\"" % "@CONFIGURE_OPTS@" + |