summaryrefslogtreecommitdiff
path: root/doc/Makefile.sub
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/Makefile.sub
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/Makefile.sub')
-rw-r--r--doc/Makefile.sub9
1 files changed, 5 insertions, 4 deletions
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$$||'` \