Installation

To install the library use make install command. Default directory to install is /usr/local. It can be changed by --prefix=[your path] parameter of configuration script. Headers are installed into $(prefix)/include/libmlp-cpp. Library is installed into $(prefix)/lib. MLP DTDs are installed into $(prefix)/share/libmlp-cpp/dtd. Pkg-config file is installed into $(prefix)/lib/pkgconfig. Pkg-config file provides easy way to include library into other projects. Example usage of libmlp-cpp.pc file is described in section Compiling the Example. Directory structure after installation with --prefix set to [your path]:

--prefix=[your path]
        |
        +----include/
        |      |
        |      +----libmlp-cpp/
        |             |
        |             *---- ... header files ...
        +----lib/
        |      |
        |      +----pkgconfig/
        |      |      |
        |      |      *---- libmlp-cpp.pc
        |      |
        |      *---- ... library files ...
        +----share/
               |
               +----libmlp-cpp/
                      |
                      +----dtd/
                            |
                            *---- ... MLP DTD files ...