aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-03-11 01:02:58 -0800
committerGlenn Morris2011-03-11 01:02:58 -0800
commitb740639e32c52d75ea93a2ac9c4b1c41257f3bb0 (patch)
tree9cddc945a5bd218592a982ac43d6a79ff0444e29
parent1714f52b9d0e0bbb01a177d6f1383c5cb665ccdb (diff)
downloademacs-b740639e32c52d75ea93a2ac9c4b1c41257f3bb0.tar.gz
emacs-b740639e32c52d75ea93a2ac9c4b1c41257f3bb0.zip
Add Makefile rules for generating html version of Emacs FAQ.
* doc/misc/Makefile.in (HTML_TARGETS): New. (clean): Delete $HTML_TARGETS. (emacs-faq.html): New, for use with the gnu.org Emacs webpage.
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/Makefile.in10
2 files changed, 15 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 96a2576355a..59ad3076684 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12011-03-11 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (HTML_TARGETS): New.
4 (clean): Delete $HTML_TARGETS.
5 (emacs-faq.html): New, for use with the gnu.org Emacs webpage.
6
12011-03-08 Teodor Zlatanov <tzz@lifelogs.com> 72011-03-08 Teodor Zlatanov <tzz@lifelogs.com>
2 8
3 * auth.texi (Help for developers): Show example of using 9 * auth.texi (Help for developers): Show example of using
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index 0a28d417c70..f429b6b2a91 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -197,6 +197,8 @@ PDF_TARGETS = \
197 widget.pdf \ 197 widget.pdf \
198 woman.pdf 198 woman.pdf
199 199
200HTML_TARGETS = emacs-faq.html
201
200TEXI2DVI = texi2dvi 202TEXI2DVI = texi2dvi
201TEXI2PDF = texi2pdf 203TEXI2PDF = texi2pdf
202 204
@@ -401,6 +403,12 @@ faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
401 $(ENVADD) $(TEXI2DVI) $< 403 $(ENVADD) $(TEXI2DVI) $<
402faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi 404faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
403 $(ENVADD) $(TEXI2PDF) $< 405 $(ENVADD) $(TEXI2PDF) $<
406## This is the name used on the Emacs web-page.
407## sed fixes up links to point to split version of the manual.
408emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
409 cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
410 --css-ref='/layout.css' --html -o $@ $<
411 sed -i 's|a href="emacs.html#\([^"]*\)"|a href="manual/html_node/emacs/\1.html"|g' $@
404 412
405flymake : $(infodir)/flymake 413flymake : $(infodir)/flymake
406$(infodir)/flymake: flymake.texi 414$(infodir)/flymake: flymake.texi
@@ -684,7 +692,7 @@ mostlyclean:
684 rm -f gnustmp.* 692 rm -f gnustmp.*
685 693
686clean: mostlyclean 694clean: mostlyclean
687 rm -f $(DVI_TARGETS) $(PDF_TARGETS) 695 rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS)
688 696
689distclean: clean 697distclean: clean
690# rm -f Makefile 698# rm -f Makefile