# Generated automatically from Makefile.in by configure.
#
# Makefile for ./doc path, used by configure
#

# these two lines are for cross-compiling, not tested
#srcdir = .
#VPATH = .

LATEX=latex
DVIPS=dvips

OCRDOC=ocr
# add other source file to dicumentation here
SRC=$(OCRDOC).tex

.PHONY : all clean proper install
default: all

all: $(OCRDOC).ps 

$(OCRDOC).ps: $(OCRDOC).dvi
	$(DVIPS) -o $(OCRDOC).ps $?

$(OCRDOC).dvi: $(SRC)
	$(LATEX) $(OCRDOC).tex

install: all
	echo "Copy $(OCRDOC) to your document path"

clean:
	-rm -f *.bak *~ $(OCRDOC).{dvi,log,aux}

proper: clean
	-rm -f $(OCRDOC).ps 

