# Makefile: a makefile
# Location: $(TOP)/doc

.SUFFIXES	: .texinfo .dvi .info

.texinfo.dvi:
	jtex $<
	@echo "I'll do it again to make cross references right..."
	jtex $<

.texinfo.info:
	nemacs -batch $< -f texinfo-format-buffer -f save-buffer

SOUCES		= aumspec.texinfo \
			errormsg.texinfo \
			pas-db.texinfo \
			pas.texinfo \
			aumc.texinfo

DVIS		= aumspec.dvi \
			errormsg.dvi \
			pas-db.dvi \
			pas.dvi \
			aumc.dvi

INFOS		= aumspec.info \
			errormsg.info \
			pas-db.info \
			pas.info \
			pas.dvi

all			: dvi info

dvi			: $(DVIS)

info		: $(INFOS)

clean:
	rm -f *~ *.dvi *.aux *.log
	rm -f *.info *.cp *.fn *.ky *.pg *.toc *.tp *.vr
