Commit graph

21 commits

Author SHA1 Message Date
Hiroki Sato
0365ebc8cc Remove -i option and add -wrap 90 option for tidy (in doc.docbook.mk
the -i has been removed due to bad side-effects since 2003).
2006-02-25 23:19:40 +00:00
Pav Lucistnik
6a1ea94077 - Rework jade/openjade handling.
Before: use jade on i386, openjade on !386, provide OPENJADE var for override

  Now: detect what's available, when both systems are present, use jade,
  provide OPENJADE var for override

  This change follows same logic as recent similar change in web.mk

Approved by:	keramida (mentor)
2005-08-30 19:32:46 +00:00
Murray Stokely
25e6eedd23 XSLTPROC and TIDY are not specific to either DocBook or HTML formats,
so move the associated variables to doc.project.mk instead of
duplicating the definitions for each doc type.
2004-09-02 16:42:01 +00:00
Alexey Zelkin
a4ef4bf328 We never used .docb suffix in the project tree, so do not mention it
in comments.
2004-03-24 09:52:57 +00:00
Murray Stokely
a3f6280993 www/links1 is sufficient to dump HTML to text for all cases, so we
don't need to use w3m here.  Move HTML2TXT definition from doc.html.mk
to the global doc.project.mk.
2003-05-04 11:13:57 +00:00
Marc Fonvieille
47f6d4e260 Commit images separation from en_US.ISO8859-1/ directory to
share/images.  To link "generic" images (share/images ones) from
Makefiles use IMAGES_EN and to link localized images use IMAGES.
For an example look at en_US.ISO8859-1/books/handbook/Makefile
2003-04-11 09:21:15 +00:00
Tom Rhodes
50f6365c86 Create XHTML documents in place of HTML4 documents with a small alteration
to the *.mk files.
2002-12-27 00:25:42 +00:00
Ceri Davies
ac307bceb7 s/seperate/separate/ 2002-11-20 19:41:10 +00:00
Thomas Moestl
67ac4e1d30 Use openjade on all non-i386 platforms, not just alpha.
Reviewed by:	-doc
2002-11-10 14:39:46 +00:00
Murray Stokely
9089b6feca Remove CSS_SHEET from .OBJDIR during `make clean'.
Submitted by:	 Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-07-07 05:05:46 +00:00
Alexey Zelkin
54cf68eab2 Force tidy(1) to use '-raw' and newly added '-preserve' options
to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (&#60; instead of &lt;),
but since all browsers understand such cases it is not a problem.

This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.

No objections from: -doc
Requested by: Russian and Japanese translation teams
2001-12-12 11:49:38 +00:00
Murray Stokely
4ffcb3417b Make the TIDYFLAGS/TIDYOPTS usage homologous to the rest of the make
variables in the doc infrastructure.  Fixes several small bugs.

PR:		docs/31703
Submitted by:	Akio Morita <amorita@FreeBSD.org>
2001-11-05 10:33:38 +00:00
Murray Stokely
f92319a1b1 Make build/install /usr/obj prefix clean.
Also fix several minor bugs here, such as leftover files not being
deleted after 'make clean'.

PR:		docs/31131
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-29 09:21:53 +00:00
Murray Stokely
f7fcffd6d4 Add support for cascading stylesheets and images for documents with
HTML as a source format.
2001-09-13 07:26:48 +00:00
David E. O'Brien
3cdf03e3f3 If running on the Alpha, use OpenJade.
Forgotten by:	who ever did the doc.docbook.mk Alpha support
Silence by:	doc@freebsd.org
2001-03-22 22:49:01 +00:00
Nik Clayton
e64d4df877 Finish off the previous commit by removing the -S flag from the links
command line, which is not supported in links (but was in w3m).
2001-03-13 18:29:06 +00:00
Jim Mock
c371a0a7a7 w3m -> links
Submitted by:	jkh, dd
2001-03-13 03:03:46 +00:00
Neil Blakey-Milner
c97832896f If OPENJADE is defined, use the openjade replacement tools like
'openjade', 'onsgmls', like 'osgmlnorm'.
2000-09-28 23:34:49 +00:00
Nik Clayton
460016ce35 Fix the handling of unsupported formats (like "html-split") in doc.html.mk.
Output a non-fatal warning for these.  For unknown formats output a fatal
error.
2000-07-23 16:27:58 +00:00
John Baldwin
3ac389f2d4 Don't allow html-split to be treated as a format during install.
Admittedly, this is a hack, and the real solution is to sanitize FORMATS
by removing any words that aren't in KNOWN_FORMATS.  This fixes release
since releases uses 'html html-split txt' for FORMATS when it compiles and
installs the docs.
2000-07-19 01:46:48 +00:00
Nik Clayton
2ee393d1be Support infrastructure for HTML documents in the doc/ tree. 2000-06-26 09:04:24 +00:00