pjs/webtools/build
slamm%netscape.com 4befdf2cb7 Print form 'hidden' options after form tag for SaveAs form. 1999-03-31 01:45:46 +00:00
..
.htaccess Change name of save script 1999-03-11 01:30:16 +00:00
README Use one name for .mozconfig 1999-03-15 17:49:25 +00:00
config.cgi Print form 'hidden' options after form tag for SaveAs form. 1999-03-31 01:45:46 +00:00
test.cgi Try to create a subdir. 1999-03-05 00:44:17 +00:00
webify-configure.m4 Almost ready for first release. 1999-02-20 01:11:02 +00:00

README

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>.