diff doc/emacs/Makefile.in @ 110912:2bfb6bf8a383

Add html targets for some doc/ Makefiles. * doc/lispref/Makefile.in (.PHONY): Add html. (html, elisp.html): New targets. (clean): Delete html files. ($(infodir)/elisp): Remove unnecessary includes. * doc/lispintro/Makefile.in (MAKEINFO): Use --force like the other doc/ Makefiles do. * doc/emacs/Makefile.in (.PHONY): Add html. (html, emacs.html): New targets. (clean): Delete html files.
author Glenn Morris <rgm@gnu.org>
date Sun, 10 Oct 2010 17:43:27 -0700
parents 6d7021474f2e
children 1ba912b1a63c
line wrap: on
line diff
--- a/doc/emacs/Makefile.in	Sun Oct 10 17:30:34 2010 -0700
+++ b/doc/emacs/Makefile.in	Sun Oct 10 17:43:27 2010 -0700
@@ -115,10 +115,11 @@
 ## solution anyway.  The second test -d is for parallel builds.
 mkinfodir = @test -d ${infodir} || mkdir ${infodir} || test -d ${infodir}
 
-.PHONY: info dvi pdf ps
+.PHONY: info dvi html pdf ps
 
 info: $(infodir)/emacs
 dvi: emacs.dvi
+html: emacs.html
 pdf: emacs.pdf
 ps: emacs.ps
 
@@ -139,6 +140,8 @@
 emacs.pdf: ${EMACSSOURCES}
 	$(ENVADD) $(TEXI2PDF) $<
 
+emacs.html: ${EMACSSOURCES}
+	$(MAKEINFO) --html -o $@ $<
 
 emacs-xtra.dvi: $(EMACS_XTRA)
 	$(ENVADD) $(TEXI2DVI) $<
@@ -160,6 +163,7 @@
 clean: mostlyclean
 	rm -f emacs.dvi emacs-xtra.dvi emacs.pdf emacs-xtra.pdf \
 	  emacs.ps emacs-xtra.ps
+	rm -rf emacs.html/
 	rm -f emacs-manual-${version}.tar*
 
 distclean: clean