	Installation instructions for sports schedule package

			   George Ferguson
		      ferguson@cs.rochester.edu

			     15 Mar 1994


NOTE: When reporting bugs, please include the version information from
      patchlevel.h (or from running with the -v option). If the
      problem is with the schedule information, as opposed to the
      program itself, please contact the person listed as
      VERSION_ENTERER in the datafile (and printed by -v).

If you have "make" on your system:

  1. Edit Makefile as needed to set compiler flags and/or destination
     directories. The latter are only needed if you plan to install
     the programs and their manpages.

     If you prefer the European style dates, "dd/mm" rather than
     "mm/dd", uncomment the defintion of EUROPEAN_DATES.

  2. Type "make" to build all schedule programs for which there are
     data files. To build only some of the programs, for example just
     the NHL schedule program, type "make nhl". You'll need to check
     the definition of PROGRAMS in the Makefile to see what's
     available.

  3. Type "make install" to install the executable and manpages, if
     you want to do so. To install just some of the programs, type,
     for example, "make install.nhl". It's not a big deal since the
     online help is pretty good.

If you don't have "make" on your system:

  1. For each program you wish to build, you need to know the name of
     the datafile containing the season-specific data. For example,
     this might be "mlb.94.c" for the major league baseball 1994
     season. Then you build the schedule program by doing:
	cc -o mlb -DDATAFILE=\"mlb.94.c\" schedule.c
     That is, you compile "schedule.c" calling the resulting
     executable "mlb" and defining the constant DATAFILE to be a
     string containing the name of the season-specific data file. You
     need the double-quotes, and the backslashes to escape them from
     the shell. Your mileage may vary on non-Unix systems; ask someone
     who knows how to compile a C program what to do.

     If you prefer the European style dates, "dd/mm" rather than
     "mm/dd", you'll need to add "-DEUROPEAN_DATES" to your compile
     command, or add
	#define EUROPEAN_DATES
     to schedule.c before compiling.


  2. That's it. If you want manpages, you'll want to generate
     specialized ones from schedule.man, replacing occurrences of
     @PROGRAM@ with the name of the program (e.g., "mlb") and @LEAGUE@
     with a descriptive term about what league the schedule is for.
     The Makefile uses sed; your mileage may vary.

