summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwl <wl>2007-09-25 15:16:23 +0000
committerwl <wl>2007-09-25 15:16:23 +0000
commit2d0479a8f3ac757356d678a550d45e29e36c7615 (patch)
treec46f9a708e84c674fd40f93d1b0e2c84143d07c3 /doc
parent005315f122db99c6f52d783bda2835caadc4cc43 (diff)
downloadgroff-2d0479a8f3ac757356d678a550d45e29e36c7615.tar.gz
* doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
the production of html files. (pic.html): Ditto. Remove background colour switch. (.SUFFIXES, clean): Handle *.xhtml files. * src/devices/grohtml/grohtml.man: Document that -V option now generates an HTML-4.01 validator or XHTML validator. * src/devices/grohtml/html-text.cpp (html_text::end_tag, html_text::start_tag): Suppress <small>, <big>, and <color> tags if we are inside a <pre> block. * src/devices/grohtml/post-html.cpp (html_printer::handle_valid_flag): Add a parameter to indicate whether it needs to generate a paragraph block. (html_printer::write_navigation): Updated. (html_printer::do_file_components): Generate an HTML-4.01 blue validator button also.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in13
-rw-r--r--doc/Makefile.sub9
2 files changed, 12 insertions, 10 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index e52a7926..4697fb1f 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -1,4 +1,5 @@
-# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
+# Free Software Foundation, Inc.
# Written by Werner Lemberg <wl@gnu.org>
#
# This file is part of groff.
@@ -81,7 +82,7 @@ GROFF=GROFF_COMMAND_PREFIX=''; \
imagedir=img
-.SUFFIXES: .me .ms .ps .html .txt .texinfo .dvi .pdf
+.SUFFIXES: .me .ms .ps .html .txt .texinfo .dvi .pdf .xhtml
.PHONY: all prepare_examples clean distclean realclean extraclean
# For simplicity, we always call grn and eqn.
@@ -92,7 +93,7 @@ imagedir=img
.ms.html:
$(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \
- -P-D$(imagedir) -Thtml -ms >$@
+ -P-D$(imagedir) -P-V -Thtml -ms >$@
.ms.txt:
$(GROFF) -Tascii -ms -mwww >$@
.ms.ps:
@@ -122,9 +123,9 @@ gnu.png: gnu.xpm
xpmtoppm $(srcdir)/gnu.xpm | pnmdepth 15 | pnmtopng >$@
pic.html: pic.ms
- $(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \
+ $(GROFF) -P-p -P-I`basename $< | sed -e 's|.ms$$||'` \
-P-D$(imagedir) -P-j`basename $< | sed -e 's|.ms$$||'` \
- -Thtml -ms >$@
+ -Thtml -P-V -ms >$@
webpage.html: webpage.ms gnu.png gnu.eps groff.css
$(GROFF) -P-j`basename $< | sed -e 's|.ms$$||'` \
@@ -141,7 +142,7 @@ clean:
-rm -f *.aux *.dvi *.pdf *.log *.toc texput.log
-rm -f *.cp *.cps *.cv *.cn *.es *.ess *.fn *.fns *.ky *.kys \
*.ma *.mas *.op *.ops *.pg *.pgs *.rq *.rqs *.st *.sts \
- *.tp *.tps *.tr *.vr *.vrs
+ *.tp *.tps *.tr *.vr *.vrs *.xhtml
-rm -rf img
distclean: clean
diff --git a/doc/Makefile.sub b/doc/Makefile.sub
index 844e6957..0aa50b0f 100644
--- a/doc/Makefile.sub
+++ b/doc/Makefile.sub
@@ -1,4 +1,5 @@
-# Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
+# Free Software Foundation, Inc.
# Written by Werner Lemberg <wl@gnu.org>
#
# This file is part of groff.
@@ -117,7 +118,7 @@ CLEANNOTSRCDIRADD=\
.ms.html:
$(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \
- -P-D$(imagedir) -Thtml -ms >$@
+ -P-D$(imagedir) -P-V -Thtml -ms >$@
.ms.ps:
$(GROFF) -Tps -ms -mwww >$@
@@ -152,9 +153,9 @@ gnu.png: gnu.xpm
xpmtoppm $(srcdir)/gnu.xpm | pnmdepth 15 | pnmtopng >$@
pic.html: pic.ms
- $(GROFF) -P-p -P-b -P-I`basename $< | sed -e 's|.ms$$||'` \
+ $(GROFF) -P-p -P-I`basename $< | sed -e 's|.ms$$||'` \
-P-D$(imagedir) -P-j`basename $< | sed -e 's|.ms$$||'` \
- -Thtml -ms >$@
+ -Thtml -P-V -ms >$@
webpage.html: webpage.ms gnu.png groff.css
$(GROFF) -P-j`basename $< | sed -e 's|.ms$$||'` \