Commit b740639e authored by Glenn Morris's avatar Glenn Morris
Browse files

Add Makefile rules for generating html version of Emacs FAQ.

* doc/misc/ (HTML_TARGETS): New.
(clean): Delete $HTML_TARGETS.
(emacs-faq.html): New, for use with the Emacs webpage.
parent 1714f52b
2011-03-11 Glenn Morris <>
(clean): Delete $HTML_TARGETS.
(emacs-faq.html): New, for use with the Emacs webpage.
2011-03-08 Teodor Zlatanov <>
* auth.texi (Help for developers): Show example of using
......@@ -197,6 +197,8 @@ PDF_TARGETS = \
widget.pdf \
HTML_TARGETS = emacs-faq.html
TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
......@@ -401,6 +403,12 @@ faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
## This is the name used on the Emacs web-page.
## sed fixes up links to point to split version of the manual.
emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
--css-ref='/layout.css' --html -o $@ $<
sed -i 's|a href="emacs.html#\([^"]*\)"|a href="manual/html_node/emacs/\1.html"|g' $@
flymake : $(infodir)/flymake
$(infodir)/flymake: flymake.texi
......@@ -684,7 +692,7 @@ mostlyclean:
rm -f gnustmp.*
clean: mostlyclean
distclean: clean
# rm -f Makefile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment