GNUtrition                     http://www.gnu.org/software/gnutrition/
----------------------------------------------------------------------

= Building GNUtrition =

First, run:

    ./configure

Run --configure --help to see all available options.  For example, to
set PREFIX to a different location than /usr/local, you can set it
like so:

    ./configure --prefix=/path/to/prefix

If configure runs without errors, then run:

    make
    make install

If your prefix is set to a location where your user does not have
write permissions (such as the default location for most people): you
may either switch to root or run

    sudo make install


= Running GNUtrition =

Once you've done the above, you can simply run:

    gnutrition

The per-user log database is stored at
$XDG_DATA_HOME/gnutrition/log.db (or ~/.local/share/gnutrition/log.db
if XDG_DATA_HOME is not set).  The USDA database is never modified by
the program, so your user does not need to explicitly have write
permissions for it.
