Quick installation procedure (for Unix, including Darwin)
=========================================================

In short, this package uses the standard installation procedure:
unpacking, ./configure, make, make check, make install. This file
describes this with some more details. See the file INSTALL for
generic information on the use of configure.

1.  Unpacking:

	gunzip MuPAD-Combinat-*.tar.gz
	tar xvf MuPAD-Combinat-*.tar
	cd MuPAD-Combinat-*/

2.  Configuration:

	./configure

    If configure does not find MuPAD, or if you want to override the
    default location, you can use something like:

	./configure MUPAD=mupad2

    Here is the complete list of variables you can override:

	MUPAD:		MuPAD itself
			Default: mupad
			Don't use a relative path like ../MuPAD/share/bin/mupad
	MUPADdir:	The root directory of MuPAD (i.e. MUPAD_ROOT_PATH)
			Don't use a relative directory like ../MuPAD/
	MUPADbindir:	The directory containing MuPAD's programs
			Default: $MUPADdir/share/bin
	MUPAD_MMG:	The module generator for MuPAD
			Default: $MUPADbindir/mmg
	MUPADpkgdir:	Where to install the package
			Default: $MUPADdir/packages/<package>
	MUPADpkgmdmdir:	Where to install the dynamic modules of the package
			Default: $MUPADdir/packages/<package>/modules/<sysname>
	LATEX		latex
	DVIPS		dvips
	PDFLATEX	pdflatex

    You can disable the dynamic modules if you have trouble compiling
    them; most of the functionnalities of the package will still be
    available:

	./configure --disable-dynamic-modules

    You can enable/disable the building of dvi, ps, pdf, html, or
    ascii documentation, as well as dvi, ps and pdf in A4 format.
    Extra tools may be required for this (latex, dvips, pdflatex).

	./configure --enable-dvi-documentation
	./configure --enable-ps-documentation
	./configure --enable-pdf-documentation
	./configure --enable-html-documentation
	./configure --enable-ascii-documentation
	./configure --enable-a4-documentation

3.  Compilation

	make

4.  Tests (optional):

	make check

    The testsuites in test/ are supposed to run cleanly.

    The testsuites in doc/dvi are supposed to run cleanly with MuPAD 3.0.0.
    With earlier versions, they may fail due to different pretty
    printing of semantically equal values.

    Some of the tests *will* fail if dynamic modules are not compiled.

5. Installation (optional):

	make install

    By default MuPAD-Combinat gets installed in
    /usr/local/share/MuPAD-Combinat.
    If you want to change this, you can call configure with the
    options --prefix or --datadir: './configure --datadir=/usr/local'.
    Type 'configure --help' for details.

6. Usage:

    With MuPAD >= 2.5.0, and if the package is installed in the standard
    place, you can simply do:

    >> package("MuPAD-Combinat"):    

    Otherwise, you have to specify the full directory where
    MuPAD-Combinat is installed, e.g.:

    >> package("/usr/local/lib/MuPAD/packages/MuPAD-Combinat/"):

    Alternatively, if you skipped the installation step, you can
    specify the directory where MuPAD-Combinat has beed unpacked, say:

    >> package("/home/nthiery/MuPAD-Combinat-0.2.0/"):

    or:

    >> package("."):

7. Getting help:

    >> info(combinat):
    >> info(combinat::partitions):

   The online documentation ?partitions is not yet functionnal, due to
   the lack of support for this in MuPAD's package mechanism. This
   should be fixed with MuPAD 3.0.0.

   The documentation is available in the directories doc/dvi (online
   versions) and doc/dvia4 (printable versions) in dvi, ps and pdf
   format, as well as in doc/html in HTML and doc/ascii in pure text.
   Not all the formats are compiled by default. See the description
   of the configure options above.

   For example, the documentation for combinat::partitions can
   be viewed with xdvi:

	xdvi doc/dvi/partitions.mdvi

   This is a standard dvi file. With any recent dvi viewer, the
   hyperlinks are functional. You can also use the MuPAD help viewer:

	manual doc/dvi/partitions.mdvi

8.  That's all folks!
