]> code.delx.au - gnu-emacs/commitdiff
Some more html rules for doc/misc/Makefile.in.
authorGlenn Morris <rgm@gnu.org>
Sat, 12 Mar 2011 18:40:08 +0000 (10:40 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 12 Mar 2011 18:40:08 +0000 (10:40 -0800)
* doc/misc/Makefile.in (emacs-faq.html): Fix some more cross-refs.
(emacs-faq.text): New target.
(clean): Add emacs-faq.

doc/misc/ChangeLog
doc/misc/Makefile.in

index b27b1aae5b71b4d54450510f17857fed8c0fa082..1a1ca1d62966c2f78988da180c004e09675b1e38 100644 (file)
@@ -1,3 +1,9 @@
+2011-03-12  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (emacs-faq.html): Fix some more cross-refs.
+       (emacs-faq.text): New target.
+       (clean): Add emacs-faq.
+
 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
 
        Sync with Tramp 2.2.1.
index 6ecf6bc02f8c53f6945ede365fae1b61ae6691ac..450199a33c51b0b56b0b339f4afbad5d1d878f7a 100644 (file)
@@ -408,7 +408,10 @@ faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
 emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
        $(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' $@
+       sed -i -e 's|a href="\([a-z]*\)\.html#\([^"]*\)"|a href="manual/html_node/\1/\2.html"|g' \
+         -e 's|/Top\.html|/|g' $@
+emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
+       $(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ $<
 
 flymake : $(infodir)/flymake
 $(infodir)/flymake: flymake.texi
@@ -692,7 +695,7 @@ mostlyclean:
        rm -f gnustmp.*
 
 clean: mostlyclean
-       rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS)
+       rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS) emacs-faq.text
 
 distclean: clean
 #      rm -f Makefile