auctex (11.85-1) doc/Makefile.in

Summary

 doc/Makefile.in |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

    
download this patch

Patch contents

--- auctex-11.85.orig/doc/Makefile.in
+++ auctex-11.85/doc/Makefile.in
@@ -72,18 +72,16 @@
 
 dist: $(DISTTEXTS) preview-latex.info auctex.info tex-ref.pdf
 
-extradist: html/auctex_toc.html auctex.ps auctex.pdf tex-ref.ps
+extradist: auctex.htmls/auctex.html auctex.ps auctex.pdf tex-ref.ps tex-ref.pdf
 
 .PHONY: all info dvi dist install-auctex disttexts clean distclean \
 	maintainer-clean install-preview install-man html-docs extradist
 
 # AUCTeX
 
-html/auctex_toc.html: auctex.texi
-	rm -rf html
-	mkdir html
-	cd html && $(TEXI2HTML) -split_node -I .. ../auctex.texi && \
-	test ! -d auctex || { mv auctex/* . && rm -rf auctex ; }
+auctex.htmls/auctex.html: auctex.texi
+	rm -rf auctex.htmls/
+	$(TEXI2HTML) --output=auctex.htmls -split=chapter $<
 
 tex-ref.dvi: tex-ref.tex
 	$(TEX) tex-ref
@@ -126,11 +124,12 @@
 
 # preview
 
-preview-latex/index.html: $(PREVIEWTEXIFILES)
-	rm -f preview-latex/*
-	$(TEXI2HTML) preview-latex.texi
+preview-latex.htmls/preview-latex.html: $(PREVIEWTEXIFILES)
+	rm -rf preview-latex.htmls/
+	$(TEXI2HTML) --output=preview-latex.htmls \
+		-split=chapter preview-latex.texi
 
-html-docs: preview-latex/index.html
+html-docs: preview-latex.htmls/preview-latex.html
 
 preview-dtxdoc.texi: ../preview/latex/preview.dtx preview-dtxdoc.pl
 	-$(PERL) preview-dtxdoc.pl ../preview/latex/preview.dtx \
@@ -186,8 +185,8 @@
 clean:
 	rm -f *.dvi *.ps *.pdf *.aux *.cp *.fn *.ky *.log *~ \#*\# \
 		*.tp *.vr *.pg *.toc *.tp *.bak *.cps *.kys *.tps \
-		*.fns *.vrs *.pgs *.tmp *.html
-	rm -rf html preview-latex
+		*.fns *.vrs *.pgs *.tmp
+	rm -rf auctex.htmls/ preview-latex.htmls/
 
 distclean: clean
 	rm -f Makefile