/*

    pcbsrc.bat
        Sets path and clears unwanted environment variables.

    b\c31
        Borland C++ 3.1.

    lib\codebase
        Codebase 5.  Needed for building PCBoard with -DFIDO.

    pcbsrc
        Working directory where you put the source to compile.  Copy the
        most recent tree from pcbsrcv to pcbsrc.

    pcbsrcv
        PCBoard 15.3 source code revision directories.  Read changes.txt
        in this directory for more info.  Storing the entire source tree
        for each revision is inefficient, but the storage can be reduced
        to only three trees; 000, 001, and the most recent.  To recreate
        the most recent tree, apply the patch series, starting with 002,
        against a copy of the 001 tree.  This takes extra space, but you
        can build the source in a minimal DOS setup where an RCS tool is
        not available.  To hack on the source and apply the patches, you
        will also need some additional tools, such as DJGPP with a WIN9X
        or WINXP environment.

    To build the source:
        Copy pcbsrc.baz to pcbsrc.bat.

        In pcbsrc.bat, modify basepath, setting it to the location where
        you extracted the source.

        In pcbsrc.bat, modify miscpath (if needed).  Use it to add local
        tools and utilities to the path.

        Run pcbsrc.bat to set the path and other environment variables.

        In pcbsrcv, find the version most recent (highest number).  Copy
        lib and main from there to pcbsrc.

        In pcbsrc\lib, run build.bat.  It creates library modules needed
        for further building in pcbsrc\main.

        In pcbsrc\main, run compile.bat (pcboardm.exe).
        In pcbsrc\main, run pplc.bat (pplc.exe).

        In pcbsrc\main\obj\*, observe the .exe files.  You may then sing
        Johnny B. Goode.  :-D


*/
