diff options
author | Lindsay <fmouse@fmp.com> | 2018-01-06 17:45:32 -0600 |
---|---|---|
committer | Lindsay <fmouse@fmp.com> | 2018-01-06 17:45:32 -0600 |
commit | 2213190e796c56bf02c1ef9e406cd046076caa34 (patch) | |
tree | ae5c7c3a979fa36bb95a477331e5c63be38fd5c5 | |
parent | 75c03ef2312398560c05800d35ffffe0fe15ef7e (diff) | |
download | mailman2-2213190e796c56bf02c1ef9e406cd046076caa34.tar.gz mailman2-2213190e796c56bf02c1ef9e406cd046076caa34.tar.xz mailman2-2213190e796c56bf02c1ef9e406cd046076caa34.zip |
mailman-config.py builds to a small utility to output build-time stats and 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@" + |