################################################################################
#
# File:		doc/Makefile
# Version:	$Id: Makefile,v 1.4 1995/07/27 04:45:42 burgaard Exp $	
#
# Project:      Documentation for mpu401-0.2/MIDI File Library 0.2
# Authors:	Kim Burgaard, <burgaard@daimi.aau.dk>
# Copyrights:	Copyright (c) 1994, 1995 Kim Burgaard.
#
#		The LaTeX files (files with .tex extention) are copyrighted
#		indenpentently of the rest of the package. Please read the
#               headers of each file for more information.
#
################################################################################

DVIFILES = libmidifile.dvi mpu401drv.dvi
PSFILES  = libmidifile.ps mpu401drv.ps

################################################################################

all:	$(DVIFILES) $(PSFILES)

libmidifile.dvi:
	@echo "******************************************************************"
	@echo
	@echo "                 Compiling library documentation.                 "
	@echo
	@echo "Running LaTeX three times in order to get references right!       "
	@echo
	@latex '\nonstopmode\input{libmidifile.tex}'
	@latex '\nonstopmode\input{libmidifile.tex}'
	@latex '\nonstopmode\input{libmidifile.tex}'
	@echo
	@echo "******************************************************************"

libmidifile.ps:	libmidifile.dvi
	dvips -o libmidifile.ps libmidifile.dvi

mpu401drv.dvi:
	@echo "******************************************************************"
	@echo
	@echo "                  Compiling driver documentation.                 "
	@echo
	@echo "Running LaTeX three times in order to get references right!       "
	@echo
	@latex '\nonstopmode\input{mpu401drv.tex}'
	@latex '\nonstopmode\input{mpu401drv.tex}'
	@latex '\nonstopmode\input{mpu401drv.tex}'
	@echo
	@echo "******************************************************************"

mpu401drv.ps:   mpu401drv.dvi
	dvips -o mpu401drv.ps mpu401drv.dvi


###############################################################################

clean:	
	-rm -f core *.ps *.dvi *.log *.aux *.toc

install:	all

uninstall:	clean

### End of File #################################################################
# Local variables:
#   fill-column: 81
# End:
