There are three components: parser, xsl, cgi. xsl needs parser, cgi needs both.

To install edit the Makefile and change the install paths as needed. Then call
make with the appropriate target:

install-parser
    Installs the perl script and modules that parse METAR and TAF messages and
    write the XML file.

    Requires the CPAN perl module XML::writer at runtime.

    Install paths to configure:
        METAF2XML_BIN
            install directory for parser perl script
        METAF2XML_LIB
            install directory for parser perl modules

install-xsl
    Installs the XSL files to convert the XML file to HTML and text.

    Requires install-parser at runtime.

    Additional install paths to configure:
        METAF2XML_XSL
            install directory for metaf*.xsl files

install-cgi
    Installs the CGI perl script for the web interface.

    Requires install-xsl at runtime.

    Additional install paths to configure:
        CGI_BIN_DIR
            install directory for the CGI script
        CGI_DATA_DIR
            directory for METAR/TAF raw file data
        CGI_LOG_FILE
            path for log file
        CGI_TMP_DIR
            directory for temporary data
