
Building ygraph from source
===========================

0. If you are using the source tree directly from CVS, then run the
   autogen.sh script in this directory to generate the configure script
1. Type `./configure' in this directory.
2. Type `make' to build the executable.
3. Type `make install' to install the executable under /usr.

If you'd like to put the executable somewhere other than /usr, at the
first step use the --prefix option to the configure command, eg.
  ./configure --prefix=/opt
will put cause the package to be put under /opt when you run `make
install'.


There is test data in the test/ directory. Once you've compiled the
ygraph executable and put it in your path, try:
  ygraph test/*.xl

To list the command-line options, use:
  ygraph --help
The 'make install' command will have installed a man-page under
  <prefix>/man/man1
There is an html version of the man-page installed in
  <prefix>/share/doc/ygraph/html


Dependencies
============

The following libraries are recommended to build the ygraph executable:
    glib 1.2
    gtk 1.2
    gdk-imlib 1.9.14
    popt 1.6
    zlib1g 1.1.4
(other version numbers also may work).

In order to create html and man-page documentation,
   docbook2html
   docbook2man
can be used to compile doc/ygraph.sgml.

To produce images from ygraph plots, it may be useful to link:
   libjpeg
   libtiff
   libpng
See src/Makefile.am to include/exclude any of these.
    
