# -*-mode: makefile-*-
#
# alane.tex.mk
#
%license
#
# $Id$
#
# <:DATE> <:AUTHOR> <:EMAIL>
#

PAPERSIZE=	letter
DVIPS_OPTS=	-f -t $(PAPERSIZE)
DVIPS_CMD=	$(DVIPS) $(DVIPS_OPTS)

.tex.dvi:
	$(LATEX) $<; $(LATEX) $<

.dvi.ps:
	$(DVIPS_CMD) <$< >$@

.tex.ps:
	$(LATEX) $<; $(LATEX) $<
	$(DVIPS_CMD) <$*.dvi >$@

.pod.ps:
	$(MAKE) $*.tex
	$(LATEX) $<; $(LATEX) $<
	$(DVIPS_CMD) <$*.dvi >$@

tex-clean:
	-rm -f *.dvi *.idx *.log *.aux *.toc *~

#EOF
