#
#
#  Makefile for LaTeX  
#
# To build everything do
#    make tex
#    make html
#    make dvipdf
#
# or simply
#
#    make
#

first_rule: qdvdauthor

qdvdauthor: tex html dvipdf mini-clean

.SUFFIXES:     .tex .html
.PHONY:
.DONTCARE:


tex:
	-latex -interaction=batchmode qdvdauthor.tex
	-latex -interaction=batchmode qdvdauthor.tex

dvipdf:
	@echo " "
	@echo "Making dvi to pdf"
	dvipdf qdvdauthor.dvi qdvdauthor.pdf

html:
	@echo " "
	@echo "Making html"
	@mkdir html
	latex2html -dir html qdvdauthor.tex
	@echo "Done making html"

mini-clean:
	@rm -f *.aux *.dvi *.log *.toc

clean:
	@rm -rf html
	@rm -f *.aux *.dvi *.log *.toc *.pdf

distclean:

