[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103624: Add Makefile rules for gener
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103624: Add Makefile rules for generating html version of Emacs FAQ. |
Date: |
Fri, 11 Mar 2011 01:02:58 -0800 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103624
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2011-03-11 01:02:58 -0800
message:
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.
modified:
doc/misc/ChangeLog
doc/misc/Makefile.in
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog 2011-03-09 13:39:35 +0000
+++ b/doc/misc/ChangeLog 2011-03-11 09:02:58 +0000
@@ -1,3 +1,9 @@
+2011-03-11 Glenn Morris <address@hidden>
+
+ * 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 <address@hidden>
* auth.texi (Help for developers): Show example of using
=== modified file 'doc/misc/Makefile.in'
--- a/doc/misc/Makefile.in 2011-02-16 08:46:13 +0000
+++ b/doc/misc/Makefile.in 2011-03-11 09:02:58 +0000
@@ -197,6 +197,8 @@
widget.pdf \
woman.pdf
+HTML_TARGETS = emacs-faq.html
+
TEXI2DVI = texi2dvi
TEXI2PDF = texi2pdf
@@ -401,6 +403,12 @@
$(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
@@ -684,7 +692,7 @@
rm -f gnustmp.*
clean: mostlyclean
- rm -f $(DVI_TARGETS) $(PDF_TARGETS)
+ rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS)
distclean: clean
# rm -f Makefile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103624: Add Makefile rules for generating html version of Emacs FAQ.,
Glenn Morris <=