+2011-03-11 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (HTML_TARGETS): New.
+ (clean): Delete $HTML_TARGETS.
+ (emacs-faq.html): New, for use with the gnu.org Emacs webpage.
+
2011-03-08 Teodor Zlatanov <tzz@lifelogs.com>
* auth.texi (Help for developers): Show example of using
widget.pdf \
woman.pdf
+HTML_TARGETS = emacs-faq.html
+
TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
$(ENVADD) $(TEXI2DVI) $<
faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
$(ENVADD) $(TEXI2PDF) $<
+## 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
rm -f gnustmp.*
clean: mostlyclean
- rm -f $(DVI_TARGETS) $(PDF_TARGETS)
+ rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS)
distclean: clean
# rm -f Makefile