pjs/webtools/build/README

54 строки
1.8 KiB
Plaintext

This is the web-based build configurator.
The idea is to simplify the build steps to...
1. cvs co mozilla/client.mk
2. cd mozilla
3. gmake -f client.mk webconfig
4. gmake -f client.mk
Where the 'webconfig' target loads config.cgi in a web browser via
"netscape -remote". The cgi presents a form of build options. The user
submits it and gets a shell script, mozconfig, as a result. That shell
script defines all the options that the user selected. The user then
saves the script as $HOME/.mozconfig. client.mk and configure, both
use that file to configure the build.
While this tool could be adapted to any configure'd project, it is
currently designed to only handle the mozilla build system.
=======
Files
=======
./config.cgi - cgi form for configure options. Produces mozconfig.
./webify-configure.m4 - Parses configure.in and prints a list of options.
-------------
Related files
-------------
$HOME/.mozconfig - Script that defines build options.
Here is a sample script,
#! sh
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@
ac_add_options --enable-debug --with-pthreads --enable-editor
ac_add_options --with-nspr=/tools/contrib/nsprpub
$TOPSRCDIR/.mozconfig - Alternate location for the script.
mozilla/client.mk - Read .mozconfig by converting it to .client-defs.mk
(generates mozilla/.client-defs.mk via mozconfig2defs.sh)
mozilla/configure.in - Uses macros in altoptions.m4 to define options.
mozilla/build/autoconf/altoptions.m4 - Set of option macros.
mozilla/build/autoconf/load-mozconfig.sh - Used by configure to push
.mozconfig options onto the command line.
mozilla/build/autoconf/mozconfig2defs.sh - Convert .mozconfig to
a makefile format.
============
Maintainer
============
The current primary maintainer is Steve Lamm <slamm@netscape.com>.