## $Id: Makefile 81 2009-03-26 21:53:27Z zw $

.PHONY : all clean veryclean

all : hindi.pdf

%.pdf : %.tex %.ind
	pdflatex $<

%.ind : %.inx
	devnag $< $@

%.inx : %.idx
	texindy -I latex -C velthuis -L ${basename $@} -M velthuis-dnnum-latex-modernhindi -M page-ranges -o $@ $<

%.idx : %.tex
	pdflatex $<

%.tex : %.dn
	devnag $<

clean :
	-rm *.aux *.idx *.ind *.log *.inx *.tex

veryclean : clean
	-rm *.pdf

