
SHELL = /bin/sh

#
# Initialize variables that have been figured out by configure.
#
target = @target@
prefix = @prefix@
docdir = @docdir@
dvidir = $(docdir)/dvi
psdir = $(docdir)/ps
htmldir = $(docdir)/html
top_srcdir = @top_srcdir@
# this file is used by the subdirectories, so top_objdir is relative to those
top_objdir = ../..
currdir = $(shell echo `pwd`)

LATEX = @LATEX@
DVIPS = @DVIPS@
LATEX2HTML = @LATEX2HTML@
MKDIRS = @MKDIRS@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@

TEXINPUTS = :$(srcdir):$(srcdir)/..:..:

TARGET_DVI  = $(MAN).dvi
TARGET_PS = $(MAN).ps
TARGET_HTML = $(MAN).html

ifndef LATEX2HTML
  TARGET_HTML =
endif

ifndef DVIPS
  TARGET_PS =
  TARGET_HTML =
endif

ifndef LATEX
  TARGET_DVI =
  TARGET_PS =
  TARGET_HTML =
endif

vpath %.html $(currdir)/html:
vpath %.tex $(srcdir):$(srcdir)/..
vpath %.bib $(srcdir):
