Source

auctex / texi / Makefile

Full commit
HTML_FILES = auctex*.html
HTML_DEP = auctex.html

auctex.html: auc-tex.texi
	$(TEXI2HTML) $(TEXI2HTML_FLAGS) -p $* $<

include ../../../XEmacs.rules

infodir=.
TEX=tex

all:: info

info: $(infodir)/auctex.info

$(infodir)/auctex.info: auc-tex.texi install.texi intro.texi changes.texi
	makeinfo auc-tex.texi -o $(infodir)/auctex.info

all:: auc-tex.dvi tex-ref.dvi math-ref.dvi auctex

dist:: auctex INSTALLATION README CHANGES auc-tex_toc.html auc-tex.ps

auc-tex_toc.html: auc-tex.texi
	texi2html -split_node auc-tex.texi

math-ref.dvi: math-ref.tex
	$(TEX) math-ref
	@echo "**********************************************************"
	@echo "** doc/math-ref.dvi may now be printed (1 page)"
	@echo "**********************************************************"

tex-ref.dvi: tex-ref.tex
	$(TEX) tex-ref
	@echo "**********************************************************"
	@echo "** doc/tex-ref.dvi may now be printed (1 page)"
	@echo "**********************************************************"

auc-tex.dvi: auc-tex.texi
	-$(TEX) "\nonstopmode\input auc-tex.texi"
	-texindex auc-tex.ky
	-texindex auc-tex.fn
	-texindex auc-tex.vr
	-texindex auc-tex.cp
	-$(TEX) "\nonstopmode\input auc-tex.texi"
	@echo "**********************************************************"
	@echo "** If this gave trouble, maybe you need to install"
	@echo "** a newer version of texinfo?"
	@echo "** doc/auc-tex.dvi may now be printed (70+ pages)"
	@echo "**********************************************************"

auc-tex.ps: auc-tex.dvi
	dvips auc-tex.dvi > auc-tex.ps

auctex: auc-tex.texi install.texi intro.texi changes.texi
	-makeinfo auc-tex.texi
	@echo "**********************************************************"
	@echo "** If this gave trouble, maybe you need to install"
	@echo "** a newer version of texinfo?"
	@echo "**********************************************************"

INSTALLATION: install.texi
	-makeinfo --no-headers install.texi --output INSTALLATION

README: intro.texi
	-makeinfo --no-headers intro.texi --output README

CHANGES: changes.texi
	-makeinfo --no-headers changes.texi --output CHANGES

HISTORY: history.texi
	-makeinfo --no-headers history.texi --output HISTORY

install: auctex
	cp auctex auctex-* $(infodir)
	@echo "**********************************************************"
	@echo "** The \`auctex' info files are now installed."
	@echo "** Edit \`$(infodir)/dir'"
	@echo "** to add an entry for file \`auctex'"
	@echo "**********************************************************"

clean:: allways
	rm -f *.dvi *.ps *.aux *.cp *.fn *.info *.ky *.log *~ \#*\# *.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps *.fns *.vrs *.pgs auctex auctex-? *.html INSTALLATION README CHANGES $(HTML_FILES)


allways:

mostlyclean: clean

distclean: clean