diff options
| author | Glenn Morris | 2011-03-11 01:02:58 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-03-11 01:02:58 -0800 |
| commit | b740639e32c52d75ea93a2ac9c4b1c41257f3bb0 (patch) | |
| tree | 9cddc945a5bd218592a982ac43d6a79ff0444e29 | |
| parent | 1714f52b9d0e0bbb01a177d6f1383c5cb665ccdb (diff) | |
| download | emacs-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/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/Makefile.in | 10 |
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 @@ | |||
| 1 | 2011-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 | |||
| 1 | 2011-03-08 Teodor Zlatanov <tzz@lifelogs.com> | 7 | 2011-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 | ||
| 200 | HTML_TARGETS = emacs-faq.html | ||
| 201 | |||
| 200 | TEXI2DVI = texi2dvi | 202 | TEXI2DVI = texi2dvi |
| 201 | TEXI2PDF = texi2pdf | 203 | TEXI2PDF = texi2pdf |
| 202 | 204 | ||
| @@ -401,6 +403,12 @@ faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | |||
| 401 | $(ENVADD) $(TEXI2DVI) $< | 403 | $(ENVADD) $(TEXI2DVI) $< |
| 402 | faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi | 404 | faq.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. | ||
| 408 | emacs-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 | ||
| 405 | flymake : $(infodir)/flymake | 413 | flymake : $(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 | ||
| 686 | clean: mostlyclean | 694 | clean: mostlyclean |
| 687 | rm -f $(DVI_TARGETS) $(PDF_TARGETS) | 695 | rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS) |
| 688 | 696 | ||
| 689 | distclean: clean | 697 | distclean: clean |
| 690 | # rm -f Makefile | 698 | # rm -f Makefile |