###############################################################################
#                                                                             #
#  Make file for installing equation formatting with TeX fonts (Version 2.3)  #
#                                                                             #
#  Jeffrey H. Kingston                                                        #
#  1 December 1996                                                            #
#                                                                             #
#     make install      Install all files                                     #
#     make uninstall    Undo the effect of make install                       #
#                                                                             #
#  Installation of equation formatting with TeX fonts requires only that      #
#  some files be copied, no compilation.  Just follow the following steps.    #
#                                                                             #
#  (1) Make sure that Lout Version 3.10 or later is installed properly.       #
#                                                                             #
#  (2) Set macro LIBDIR defined below to be the directory where Lout's        #
#      libraries go.  This should be the same as the value of LIBDIR in the   #
#      Lout makefile, and so the directory should already exist.              #
#                                                                             #
#  (3) Execute "make install".  This will copy the five font files into       #
#      directory $(LIBDIR)/font, copy the five Lout Character Mapping files   #
#      into directory $(LIBDIR)/maps, and copy files teq and teq.lpg into     #
#      directory $(LIBDIR)/include.                                           #
#                                                                             #
#  You will need write permission in the three directories for this to work.  #
#  That's all there is.  Mail jeff@cs.su.oz.au if you have any problems.      #
#                                                                             #
###############################################################################

LIBDIR	= /usr/staff/jeff/lout.lib

install:
	@echo ""
	@echo "(a) Installing font files into $(LIBDIR)/font"
	cp font/cm* $(LIBDIR)/font
	chmod 644 $(LIBDIR)/font/cm*
	@echo ""
	@echo "(b) Installing Lout Character Mapping files into $(LIBDIR)/maps"
	cp maps/cm* $(LIBDIR)/maps
	chmod 644 $(LIBDIR)/maps/cm*
	@echo ""
	@echo "(c) Installing teq and teq.lpg into $(LIBDIR)/include"
	cp teq* $(LIBDIR)/include
	chmod 644 $(LIBDIR)/include/teq*

uninstall:
	-rm -f  $(LIBDIR)/font/cm*
	-rm -f  $(LIBDIR)/maps/cm*
	-rm -f  $(LIBDIR)/include/teq*
