INSTALLATION INSTRUCTIONS

Contents:

	Unix Installation
	MS-DOS Installation

UNIX INSTALLATION

This package has been prepared using GNU's Autoconf package.  For a
quick installation on a Unix-like system, type the following commands:

	./configure
	make
	su -c "make install"

The package comes with on-line documentation, which is automatically
installed when you run "make install".  The documentation can also be
prepared for printing, in DVI format.  Simply type the command:

	make dvi

There are several other targets which you can specify with "make".
They are as follows:

	make all

This is identical in meaning to "make", on its own.

	make uninstall

This removes all installed files, returning your system almost to the
state it was in, before you installed the package.  I say "almost",
because some of the installation directories might still remain.

	make install-strip

Installs a stripped version of Astrolib, that is, one with no
debugging information.  This can save you a small amount of disk
space.

	make clean

Clean up after building.  If you need to rebuild the system, you can
use this to make sure there is no residue from previous builds of the
program.

	make distclean

Removes all files except those which were present when the source code
archive was unpacked.  You need to run "./configure" after this, if
you want to rebuild the package.

	make maintainerclean

This deletes everything already mentioned, plus the "./configure"
script.  This is for package maintainers only.  If you run this, you
need GNU Autoconf in order to rebuild the configure script.

	make info

This rebuilds the info documentation files only.

	make dist

This creates a source code distribution, and is meant for maintainers
only.  That being said, if you accidentally delete the source code
archive, and want it back in its normal form, you can use this to
rebuild it.

MS-DOS INSTALLATION

If you want to build this package under MS-DOS, you need to have the
DJGPP compiler, a port of GCC to MS-DOS.  Other compilers might work,
but you might have to abandon the supplied Makefile and build your own
project.

Assuming you have GCC, make, you can build the library with the command:

	make -f Makefile.dos libastrowar.a

This builds the libastrowar.a library and drops it in the current
directory.  If you want to build the documentation, you can use the
utility texi2ps, supplied with DJGPP.  Just run it as follows:

	texi2ps astrolib.tex > astrolib.ps

Once done, you can install the package in its final location by
running the supplied batch file INSTALL.BAT.
