			  Installing Netfax
			  -----------------


The makefiles for this system use the GNU make, which is a superset of
the vanilla unix make utility.  

The configuration files:

	include/conf.h
	include/conf.mk
	include/fax_prog.mk

should be edited for your local configuration, before building.

Ghostscript (2.41) now has direct support for imaging to G3 fax data
format.  We now use the digifax "dfaxhigh" device, to convert
postscript to G3 files.

In order to compile Ghostscript with the fax driver, add the digifax
drivers to the device-drivers line to the Ghostscript makefile, like
this:

	DEVICE_DEVS=x11.dev dfaxhigh.dev dfaxlow.dev

Please read the README file for more information.

****************************************************************

Installation:

1. Look at include/config.h. It is mostly self-explanatory. Configure
   things like you want them. Choose incoming and outgoing fax
   directories which are accesible to the server. 

   For the binaries, choose a location for the fax client and server binaries.

   You also need to add the pathname to the Ghostscript executable to
   render postscript into faxes, as well as an ascii to postscript
   translator, if you want to send plain ascii text.


   The default configuration assumes that the needed binaries for the
   server will be placed in /usr/local/lib/fax/ and that the client
   software will be placed in /usr/local/bin.

1.1 Edit the include/conf.mk file and set the FAXBINDIR and FAXLIBDIR
variables to whatever you chose for step 1.

2. Do a make at the top level. Be sure to use GNU make, or something
   compatible.

3. Let's assume you have chosen the following places
   as the home for the binaries:

	FAXLIBDIR = /usr/local/lib/fax 
	FAXBINDIR = /usr/local/bin

   make install will copy the binaries as follows

   FAXLIBDIR:: 
	cmd/faxspooler/faxspooler
	cmd/faxenq/faxenq
	cmd/faxsend/faxsend
	cmd/faxmail/faxmail
	
   FAXBINDIR::
	cmd/faxps/faxps
	cmd/faxrm/faxrm
  	cmd/fax/fax
	cmd/faxq/faxq

