doc.dvi:

MAKE_CONFIG_HOME=$(HOME)/Newsletter/v92/duncan/Make/new/tmp/MakeConfig

include $(MAKE_CONFIG_HOME)/GMake.config

TEX=latex
TEXINPUTS=./Macros//::
SECTIONS=\
       intro \
       makeIntro \
       GenericDesign AutoDepends Debugging  Summary newproj

#OtherTools
#GmakeLanguage

include \
$(MAKE_CONFIG_HOME)/GMake.rules

# These should come after the basic rules.
 

MACROS=$(shell ls Macros/*.tex)

%.dvi: %.tex
	$(run-tex-section)

doc.dvi: doc.tex $(SECTIONS:%=%.tex)\
        header.tex footer.tex make.bib $(MACROS)

	$(run-tex)
	$(run-tex)
	bibtex $*
	$(run-tex)


ispell:
	ispell $(SECTIONS:%=%.tex)

# This doesn't quite work because if we change the .tex file
# there is no dependency on it. a.dvi b.dvi should depend
# a.tex and b.tex respectively rather than both on the
# pair of tex files.
#$(SECTIONS:%=%.dvi): 
#	$(run-tex-section)





