/[doc]/head/share/mk/doc.docbook.mk
ViewVC logotype

Log of /head/share/mk/doc.docbook.mk

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:


Revision 54388 - (view) (download) (annotate) - [select for diffs]
Modified Sat Aug 1 10:16:40 2020 UTC (3 years, 11 months ago) by blackend
File length: 23141 byte(s)
Diff to previous 54385
Remove PS format.  PS files are broken: fop is unable to embed fonts.
PS is, nowadays, replaced with PDF.  If PS is still needed, pdf2ps(1)
can be simply used on PDF files.

Approved by:	doceng


Revision 54385 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 29 16:58:17 2020 UTC (3 years, 11 months ago) by blackend
File length: 23679 byte(s)
Diff to previous 51528
pdb format isn't supported since a while. Let's remove its remains.


Revision 51528 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 2 12:45:43 2018 UTC (6 years, 3 months ago) by blackend
File length: 24555 byte(s)
Diff to previous 51106
Update maxdepth from 6000 to 12000 [1].  This should fix the doc related
ports build on FreeBSD 11.X.

PR:	225287
Submitted by:	Keren Sky <keren_sky@live.com>
Obtained from:	Kenji Rikitake <kenji@k2r.org> [1]


Revision 51106 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 12 14:13:48 2017 UTC (6 years, 8 months ago) by wosch
File length: 24554 byte(s)
Diff to previous 50959
refactor translation to a new make file "doc.translate.mk"

PR: 222939


Revision 50959 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 29 09:46:32 2017 UTC (6 years, 9 months ago) by wosch
File length: 27169 byte(s)
Diff to previous 50877
switch to HTTPS

PR: 222676


Revision 50877 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 19 09:50:17 2017 UTC (6 years, 9 months ago) by wosch
File length: 27168 byte(s)
Diff to previous 50809
Fix `make -n' and `make -j1'

PR: 222186


Revision 50809 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 8 14:29:06 2017 UTC (6 years, 9 months ago) by wblock
File length: 27140 byte(s)
Diff to previous 50677
Remove the temporary assembled document after generating a PO file to
make sure it does not hide changes in the English parent from translators.

Sponsored by:	iXsystems


Revision 50677 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 14 21:08:28 2017 UTC (6 years, 10 months ago) by wblock
File length: 27119 byte(s)
Diff to previous 50233
Trim obsolete translations from PO files.  These are translations for
text which does not exist in the original English document any more.


Revision 50233 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 5 13:50:57 2017 UTC (7 years, 2 months ago) by wblock
File length: 27050 byte(s)
Diff to previous 49051
Use Subversion metadata for version information rather than grepping for
$FreeBSD$ version strings.


Revision 49051 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 4 14:56:42 2016 UTC (8 years ago) by wblock
File length: 26810 byte(s)
Diff to previous 48924
Improve latest revision detection based on mat's work.  This clarifies
the code, reduces dependencies, and removes a lot of quotes by using
--stringparam.

Differential Revision:	https://reviews.freebsd.org/D6902


Revision 48924 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 14 14:02:59 2016 UTC (8 years ago) by mat
File length: 26714 byte(s)
Diff to previous 48778
Fix using LATESTREVISION when not using svn (or svn is broken)

Kinda ok'ed by:	wblock
Sponsored by:	Absolight


Revision 48778 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 4 22:04:56 2016 UTC (8 years, 2 months ago) by wblock
File length: 25575 byte(s)
Diff to previous 48776
Replace revision and publication date in generated documentation with
the actual date of last update.  This fixes the problems with misleading
"last update" dates that only reflect the change in a single
rarely-changed file.  Note that hrs had reservations about doing this in
the Makefile rather than with a stylesheet.  However, not all our source
files are XML.  For now, this change works, and can be replaced by a
more elegant solution later.  We should also consider checking dates on
other files that affect the content or appearance of documents, like
images.

Submitted by:	grembo


Revision 48776 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 4 21:35:12 2016 UTC (8 years, 2 months ago) by wblock
File length: 25200 byte(s)
Diff to previous 48757
Generate the correct paths to images in epub documents.


Revision 48757 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 1 17:19:54 2016 UTC (8 years, 2 months ago) by wblock
File length: 25021 byte(s)
Diff to previous 48098
Stop putting PDF contents in .ps and .rtf files.


Revision 48098 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 26 23:42:48 2016 UTC (8 years, 5 months ago) by wblock
File length: 24996 byte(s)
Diff to previous 48097
Run 'make SRCS' in the English document directory.  Some SRCS files are
generated, like the list of mirrors used in the Handbook, and this will
make certain they exist when the PO extraction process needs them.


Revision 48097 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 26 23:27:44 2016 UTC (8 years, 5 months ago) by wblock
File length: 24889 byte(s)
Diff to previous 48093
Put a plain $FreeBSD$ in the generated PO, rather than an ID string that
has been expanded by Subversion.  Thanks to bjk!


Revision 48093 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 25 21:22:06 2016 UTC (8 years, 5 months ago) by wblock
File length: 24851 byte(s)
Diff to previous 48018
Improve the formatting of dblatex-produced PDF documents.


Revision 48018 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 15 01:59:38 2016 UTC (8 years, 5 months ago) by wblock
File length: 24861 byte(s)
Diff to previous 47714
Remove extraneous whitespace.


Revision 47714 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 31 17:45:11 2015 UTC (8 years, 8 months ago) by wblock
File length: 24867 byte(s)
Diff to previous 47692
Use the English catalog files to avoid problems with pre-translated
entities.  Tested by rene@ and RayCherng Yu <raycherng@gmail.com>.
Well, and me, obviously.

Reviewed by:	rene


Revision 47692 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 28 00:53:13 2015 UTC (8 years, 8 months ago) by wblock
File length: 24504 byte(s)
Diff to previous 47599
Make the normalized translation file depend on all the SRCS of the
English original document.

Reviewed by:	rene


Revision 47599 - (view) (download) (annotate) - [select for diffs]
Modified Fri Oct 16 22:30:02 2015 UTC (8 years, 8 months ago) by wblock
File length: 24407 byte(s)
Diff to previous 47548
Use the en_US xmllint catalog variables so translated entities do not
make their way into PO translations.

Reviewed by:	rene


Revision 47548 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 13 21:45:26 2015 UTC (8 years, 8 months ago) by wblock
File length: 24356 byte(s)
Diff to previous 47306
Remove a duplicated {PO_LANG}.mo from CLEANFILES.
Modify the PO_SET script to add a #$FreeBSD$ line to new PO files.


Revision 47306 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 24 15:54:10 2015 UTC (8 years, 10 months ago) by wblock
File length: 24323 byte(s)
Diff to previous 47003
Add PO translation support.

Reviewed by:	hrs (earlier version), blackend
Approved by:	doceng (implicit)
Differential Revision:	https://reviews.freebsd.org/D2947


Revision 47003 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jul 17 05:30:04 2015 UTC (8 years, 11 months ago) by wblock
File length: 22402 byte(s)
Diff to previous 44166
Set FOP_OPTS, the variable passed by the fop shell script to the Java
interpreter, to use the same minimum values for stack and heap space on
all architectures.  The built-in i386 defaults are smaller than those on
amd64, so i386 fop PDF builds ran out of space and failed.  Working
values were copied from the amd64 defaults.

Reviewed by:	gabor, blackend, hrs
Approved by:	hrs


Revision 44166 - (view) (download) (annotate) - [select for diffs]
Modified Fri Mar 7 12:23:51 2014 UTC (10 years, 3 months ago) by gabor
File length: 22257 byte(s)
Diff to previous 43182
- Move the PGP keyring generation to the language-independent share directory

Discussed with:	hrs, wblock


Revision 43182 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 13 07:07:52 2013 UTC (10 years, 7 months ago) by hrs
File length: 22326 byte(s)
Diff to previous 43181
- Enable docformatnav only when $docformatnav is set to 1.
- Set $docformatnav to 1 when $FORMATS contains "html" and "html-split" at the
  same time.
- Fix localization of docformatnav using &docnavi.{split,single};.
- Do not create <a> element which points to the document itself.
- Remove share/xml/l10n.ent.
- Fix URI of freebsd-fo-cjk.xsl.


Revision 43181 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 13 06:10:37 2013 UTC (10 years, 7 months ago) by hrs
File length: 22150 byte(s)
Diff to previous 43171
- Use /usr/bin/svnlite as SVN if available.
- Replace /XML/{doc,www}/ with /XML/ in SysId.
- Remove empty stylesheets in share/xsl and point share/xml/empty.xsl via
  XML catalog instead.
- Change the L10N layer in freebsd-*.xsl not to use localized XSLT
  stylesheets directly.
- Move share/xsl/* to share/xml and remove share/xsl.
- Remove obsolete share/web2c/pdftex.def.


Revision 43171 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 11 19:26:20 2013 UTC (10 years, 7 months ago) by hrs
File length: 22319 byte(s)
Diff to previous 43168
Simplify localization layer for XSLT stylesheets.  lang/share/xsl/*.xsl are
now picked up via share/xsl/*.xsl and they are empty when there is no
localized content in it.  This prevents inconsistency between share/xsl/*.xsl
and the localized ones.


Revision 43168 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 11 18:12:26 2013 UTC (10 years, 7 months ago) by hrs
File length: 22339 byte(s)
Diff to previous 43127
Use XML catalog resolution wherever possible instead of absolute pathnames
for external entities.


Revision 43127 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 7 18:20:08 2013 UTC (10 years, 7 months ago) by gabor
File length: 22260 byte(s)
Diff to previous 43126
- Fix build of release notes

Approved by:	doceng (self)


Revision 43126 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 7 16:37:11 2013 UTC (10 years, 7 months ago) by gabor
File length: 22232 byte(s)
Diff to previous 42023
Merge back improvements from the db5 branch:

  - Convert to DocBook 5.0
  - Use XSL-FO and FOP for PDF rendering instead of DSSSL and Jade
  - Drop SGML catalogs since the tree is purely XML now
  - Drop DSSSL stylesheets
  - Drop other legacy constructs
  - Add support for Schematron validation
  - Add Schematron constraints
  - Add support for RELAX NG validation
  - Add experimental support for dblatex

Sponsored by:	The FreeBSD Foundation
Approved by:	doceng (self)


Revision 42023 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 24 08:23:29 2013 UTC (11 years ago) by blackend
File length: 27323 byte(s)
Diff to previous 41710
Fix install-html-split target:
With the current code running "make install" will build the files but
will install only 2 files (docbook.css and tramemark.html).  Another
"make install" is required to get the missing files.  This is not the
expected behavior.  A quick workaround is to run "make && make
install", but let's fix the code to get a working "make install".

Discussed with:	gabor


Revision 41710 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 23 06:12:40 2013 UTC (11 years, 1 month ago) by gabor
File length: 27355 byte(s)
Diff to previous 41645
- Port PGP keyring generation to XSLT


Revision 41645 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 17 18:49:52 2013 UTC (11 years, 1 month ago) by gabor
File length: 27340 byte(s)
Diff to previous 39665
Merge the XML toolchain upgrade, which contains the following changes:

  - Upgrade to DocBook 4.5
  - Use XSLT instead of DSSSL to render XHTML-based output
  - Generate PDF from PS and simplify image processing
  - Fix make lint and validate the whole documentation set
  - Fix rendering of TOC elements
  - Fix misused link elements that resulted in a corrupt rendering
  - Use more human-friendly publication data and release info rendering
  - Add support for XInclude in DocBook documents
  - Add support for profiling with attributes [1]
  - Add support for Schematron constraints
  - Add experimental epub support
  - Add experimental support for XSL-FO-based printed output
  - Clean up obsolete SGML constructs
  - Clean up catalogs
  - Drop HTML Tidy since it is not needed any more

  [1] http://www.sagehill.net/docbookxsl/Profiling.html

The dependencies of the build will change as follows:
  - textproc/opensp
  - www/tidy-lib
  - textproc/html
  - textproc/linuxdoc
  - textproc/docbook-410
  - textproc/docbook-xml
  + textproc/docbook-xml-450
  + textproc/iso-schematron-xslt

Approved by:	doceng (implicit)


Revision 39665 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 6 17:52:37 2012 UTC (11 years, 8 months ago) by issyl0
File length: 33724 byte(s)
Diff to previous 39632
Replace 'SGML' with 'XML' in Makefile code and comments.  A consequence of
this was that 'SGMLFLAGS' had to be changed to 'XMLFLAGS' in
share/mk/doc.docbook.mk so that everything continued to build OK.

Approved by:	gabor (mentor)


Revision 39632 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 1 11:56:00 2012 UTC (11 years, 9 months ago) by gabor
File length: 33729 byte(s)
Diff to previous 39631
- Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)


Revision 39631 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 1 09:53:01 2012 UTC (11 years, 9 months ago) by gabor
File length: 33735 byte(s)
Diff to previous 39568
- Rename .sgml files to .xml
- Reflect the rename in referencing files

Approved by:	doceng (implicit)


Revision 39568 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 16 18:26:39 2012 UTC (11 years, 9 months ago) by gabor
File length: 34418 byte(s)
Diff to previous 39539
- The trademarks.html file is now generated with a lower-case filename,
  reflact that

Submitted by:	ebrandi (via private mail)


Revision 39539 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 14 15:35:18 2012 UTC (11 years, 9 months ago) by hrs
File length: 34418 byte(s)
Diff to previous 39534
Suppress HTML Tidy's version string output.


Revision 39534 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 14 12:11:19 2012 UTC (11 years, 9 months ago) by gabor
File length: 34413 byte(s)
Diff to previous 38826
Merge the projects/sgml2xml branch:
  - Documentation is updated from DocBook 4.1/SGML to DocBook 4.2/XML
  - Webpages are updated from HTML 4.01 Transitional to XHTML 1.0 Transitional
  - Static webpages are now processed by XSLT behind the scenes
  - Webpages are now built with less cycles; tidy has been removed and the
    date processing is now done by XSLT
  - Generated webpages are now actually valid (they did not use to be)
  - All XSLT stylesheets now pull in a main XSLT, which reduces
    duplicated markup
  - Site map and index are converted to an XML format with an
    XSLT transformation that generates the output
  - For docs, there is now only one entity set for both articles and books
  - Some trademark/legalnotice entities have been merged to a cohesive
    single entity file
  - Untranslated entity sets are now always pulled in from the English tree
    instead of redundant copies
  - The base and enbase entities are already automatically generated so
    remove inline definitions from individual files
  - Fetch the LEGAL file via http instead of depending on CVS
  - Convert id names to lowercase to avoid mixing different styles and
    for better readability
  - All PSGML comments are removed since they are mostly useless
  - Convert character entities to normal characters
  - Do not copy CSS files but override only necessary part
  - Fix build with newest tidy
  - Partly update the fdp-primer to reflect changes

Approved by:	doceng (implicit)


Revision 38826 - (view) (download) (annotate) - [select for diffs]
Modified Thu May 17 19:12:14 2012 UTC (12 years, 1 month ago) by hrs
File length: 34151 byte(s)
Diff to previous 38352
- Set svn:ketwords and svn:mime-type.  Note that application/octet-stream is
  set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)


Revision 38352 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 31 02:01:32 2012 UTC (12 years, 5 months ago) by hrs
File length: 34151 byte(s)
Diff to previous 38341
- Fix ($user-html-header$) to support <script src="foo">.  While the rendered
  result of <script> end tag by the DSSSL stylesheet was </script\n> to avoid
  unnecessary spaces after the tag, most of the www browsers and HTML
  processors cannot recognize it as the end of <script>.  To workaround this,
  ($user-html-headers$) now outputs the start and the end tag independently
  in each single line.

- Add %html-header-script% to control if <script> is included in <head>.

- Add html.header.script.google knob for SGML and XML documents in non-DocBook
  DTD.  %html.header.script.google; and $html.header.script.google.

- Add WWWFREEBSDORG make(1) knob to control the <script> inclusion.  Note that
  <script> is disabled temporarily.

Discussed with:	gjb and core
Tested by:	gjb


Revision 38341 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jan 29 07:25:49 2012 UTC (12 years, 5 months ago) by wblock
File length: 34081 byte(s)
Diff to previous 37259
Add a workaround to prevent Tidy from converting tabs to spaces
by converting them to &#09; before Tidy gets them.  Then Tidy
converts them back to real tabs, not spaces.

Reviewed by:	hrs, gjb


Revision 37259 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 15 20:41:31 2011 UTC (13 years, 1 month ago) by uqs
File length: 33995 byte(s)
Diff to previous 28154
Typo and spelling fixes.


Revision 28154 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jun 24 12:20:46 2006 UTC (18 years ago) by vanilla
File length: 33995 byte(s)
Diff to previous 28139
Make Traditional Chinese PDF/PostScript of FreeBSD Documents

PR:		docs/99260
Submitted by:	    Intron <intron@intron.at.ac>


Revision 28139 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 21 15:26:28 2006 UTC (18 years ago) by delphij
File length: 34006 byte(s)
Diff to previous 27570
Since we can now generate txt files with html2text, remove zh_CN.GB2312
from the NO_PLAINTEXT_LANG list.

Spotted by:	intron at intron dot ac


Revision 27570 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 17:50:34 2006 UTC (18 years, 2 months ago) by hrs
File length: 34019 byte(s)
Diff to previous 27496
- Move build targets for book.{ps,pdf} of the handbook to the LI part.
- Add NO_{TEX,PLAINTEXT,RTF} and NO_{TEX,PLAINTEXT,RTF}_LANG knobs not to
  build or install broken files[*].

Suggested by:	alex.istra at rambler dot ru[*]


Revision 27496 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 7 14:34:34 2006 UTC (18 years, 3 months ago) by hrs
File length: 32665 byte(s)
Diff to previous 27391
Add JADETEX_PREPROCESS and PDFTEX_PREPROCESS for pre-processing
TeX file.


Revision 27391 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 22 14:50:30 2006 UTC (18 years, 3 months ago) by delphij
File length: 32475 byte(s)
Diff to previous 26584
Apply RTF fixups which improves our .rtf generation:
 - Tell the location where Jade/OpenJade will look for the PNG
   images.
 - Use rtf-nopng as extension name for Jade/OpenJade generated
   RTF files.
 - Use fixrtf(1) from textproc/fixrtf to make necessary fixups
   on generated RTFs, embedding PNGs into the intermediate RTF
   and save them into the new *.rtf files.
 - Retire rtf.tar target which is no longer necessary.

Please note that you have to upgrade the docproj toolset or
this commit would break the build.

PR:		docs/93965
Submitted by:	intron <intron intron ac>
Approved by:	doceng


Revision 26584 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 13 08:03:57 2005 UTC (18 years, 6 months ago) by delphij
File length: 32349 byte(s)
Diff to previous 26559
Improve the docbook build infrastructure's index.sgml build process:

 - Consider index.sgml as intermediate file, not dependency that ${DOC}.*
   require.  Instead, generate it on-the-fly when building ${DOC}.*.
   This solves the problem that index.sgml is generated for the first
   built target, but needs to be different from target to target.

   The affected targets are:
	index.html HTML.manifest
	${DOC}.html
	${DOC}.html-text
	${DOC}.rtf
	${DOC}.tex
	${DOC}.tex-pdf

   ${INDEX_SGML} target removed in favor of the on-the-fly build.

 - When building ${DOC}.rtf, add ${PRINT_INDEX} and ${LOCAL_IMAGES_PNG}
   as dependencies, eliminating the need of building ${DOC}.rtf without
   having to build ${DOC}.html beforehand.

 - Modifications against ${HTML_INDEX} and ${HTML_SPLIT_INDEX}:
	+ Add dependency to ${SRCS} and ${LOCAL_IMAGES_TXT} to force
	  index updates when necessary.
	+ Every build now causes index.sgml to be reinitialized.
	+ Depend on ${DOC}.* to generate index.sgml.

Submitted by:	"intron" <intron at intron ac>
PR:		docs/90255 (slightly changed version)


Revision 26559 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 10 14:02:03 2005 UTC (18 years, 6 months ago) by delphij
File length: 32096 byte(s)
Diff to previous 25733
Merge some improvements of build infrastructure from the Simplified Chinese
project:
 - For "dvi" and "ps", add "${DOC}.out" to CLEANFILES
 - Allow overriding of the following targets:
   ${DOC}.txt, ${DOC}.dvi, ${DOC}.pdf, ${PRINT_INDEX}

Submitted by:	"intron" <intron intron ac>
PR:		docs/90171


Revision 25733 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 23 19:38:22 2005 UTC (18 years, 9 months ago) by hrs
File length: 31975 byte(s)
Diff to previous 25517
Disable .ps and .pdf build of some languages---ja_JP.eucJP,
ru_RU.KOI8-R, and zh_TW.Big5---because they are broken.
This behavior can be controlled by using $NO_TEX_LANG.

This is a temporary measure, and we need to use localized
TeX variants to build the printable formats.

Tested by:	simon


Revision 25517 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 30 19:32:46 2005 UTC (18 years, 10 months ago) by pav
File length: 31475 byte(s)
Diff to previous 23505
- 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)


Revision 23505 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 10 22:00:58 2005 UTC (19 years, 5 months ago) by keramida
File length: 31496 byte(s)
Diff to previous 23459
Set the default line width for FORMATS="txt" to 72 columns.  This fixes,
after a very long time, the problem described in:

PR:		docs/41791
Submitted by:	Jerry Dunham <jdunham@m3designinc.com>


Revision 23459 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 6 12:40:46 2005 UTC (19 years, 6 months ago) by simon
File length: 31486 byte(s)
Diff to previous 22212
Tell collateindex to set the id tag (to "doc-index" in lack of better
idea for a name) so we will not get dynamic filenames for html-split
output.


Revision 22212 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 17:12:14 2004 UTC (19 years, 10 months ago) by murray
File length: 31447 byte(s)
Diff to previous 22210
Add support for building documents in our doc/ tree marked up in
Norman Walsh's DocBook Slides DTD.

This DTD offers the vocabulary of simplified DocBook for
presentations.  Initially, the supported output formats are PDF and
HTML.

XSL stylesheets are used so libxslt is required.

PassiveTeX is used for the PDF generation to convert the XSL-FO
directly to PDF.

This commit moves various TeX definitions out of doc.docbook.mk and
into doc.project.mk, since docbook is no longer the only back-end to
utilize TeX.

An example Makefile would look like :

----
DOCFORMAT=	slides
DOC=		slides

SRCS=	slides.xml

DOC_PREFIX?=	${.CURDIR}/../../..
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
---

And an example slides file (slides.xml) looks like :

---
<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.3.1//EN"
  "http://docbook.sourceforge.net/releases/slides/3.3.1/slides.dtd">
<slides>
<slidesinfo>
  <title>What's new in FreeBSD 5.3</title>
  <titleabbrev>FreeBSD 5.3</titleabbrev>
</slidesinfo>

<foil><title>Introduction Slide</title>
  <para>Content</para>
</foil>
</slides>
---

You could then build the HTML and PDF versions of the slides by typing
"make FORMATS='pdf html'".  Enjoy.

Please coordinate with doceng@ before importing any presentations to
doc/.


Revision 22210 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 2 16:42:01 2004 UTC (19 years, 10 months ago) by murray
File length: 31621 byte(s)
Diff to previous 21946
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.


Revision 21946 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 15:09:05 2004 UTC (19 years, 10 months ago) by blackend
File length: 31682 byte(s)
Diff to previous 21941
Fix the RTF build:

Jade is not able to embed images but links them instead, so images have
to be installed with the .rtf document (it's similar to the HTML case).

I added a new format: rtf.tar which is a better solution than using rtf
since the images are not embedded.
make FORMATS=rtf.tar is your friend :)


Revision 21941 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 05:28:42 2004 UTC (19 years, 10 months ago) by murray
File length: 30876 byte(s)
Diff to previous 21939
Backout last change.  It was already included in doc.common.mk.

Found by:	hrs


Revision 21939 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 03:45:39 2004 UTC (19 years, 10 months ago) by murray
File length: 30900 byte(s)
Diff to previous 21918
Always use absolute URLs for print output.


Revision 21918 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 11 10:51:13 2004 UTC (19 years, 10 months ago) by murray
File length: 30876 byte(s)
Diff to previous 21883
Honor DVIPSFLAGS even if PAPERSIZE is not defined.


Revision 21883 - (view) (download) (annotate) - [select for diffs]
Modified Mon Aug 9 16:22:55 2004 UTC (19 years, 10 months ago) by hrs
File length: 30864 byte(s)
Diff to previous 21844
- When <langcode>/share/mk/doc.local.mk exists, it will be included
  just after doc.common.mk included.  This can be used for various
  language specific customizations.

- Remove SP_ENCODING_LIST.  Translators should define the SP_ENCODING
  variable directly in their doc.local.mk when it is needed.

Discussed with:	den


Revision 21844 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 6 09:33:17 2004 UTC (19 years, 11 months ago) by den
File length: 31025 byte(s)
Diff to previous 21838
Parse ISO* encodings, convert it to ISO-* before SP_ENCODINGS assignment

Add ISO-8859-2 to SP_ENCODING_LIST


Revision 21838 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 6 05:22:17 2004 UTC (19 years, 11 months ago) by den
File length: 30986 byte(s)
Diff to previous 21487
Set SP_ENCODING from SP_ENCODING_LIST

Add KOI8-R to this list
Other encodings can be added after some testing

Note: KOI8-R supported by jade-1.2.1_8 and above

Reviewed by:		Dmitry Morozovsky <marck@rinet.ru>, ru
With cleanups from:	ru
No objections from:	freebsd-doc


Revision 21487 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 14 05:28:11 2004 UTC (19 years, 11 months ago) by murray
File length: 30650 byte(s)
Diff to previous 21385
Add a DSSSL stylsheet to enable more efficient spellchecking.  This
stylesheet omits the contents of <filename>, <devicename>,
<programlisting>, and other tags that are likely to not contain real
English words.  The output of this stylesheet can then be checked with
'make spellcheck' with far fewer false positives.


Revision 21385 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 7 13:30:49 2004 UTC (20 years ago) by hrs
File length: 30353 byte(s)
Diff to previous 20894
Fix the lint target to use ${NSGMLSFLAGS}.


Revision 20894 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 12 12:58:12 2004 UTC (20 years, 1 month ago) by hrs
File length: 30338 byte(s)
Diff to previous 20524
Use URLS_ABSOLUTE=yes for non-html formats and during
"make package".

Suggested by:	den


Revision 20524 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 5 22:53:43 2004 UTC (20 years, 3 months ago) by simon
File length: 30245 byte(s)
Diff to previous 20416
Really unbreak creation of PDF documents which use "shared" PNG images:

The previous fix only worked in some cases, so back it out and add a
more clean fix.  This fix also makes "make clean" work as expected again
for the shared PNG images.

The real problem is the assumption in doc.images.mk that the
${IMAGES_PDF} variable only need to contain images converted to PDF
format and not images which are already in PNG format.  We need to list
the PNG images in ${IMAGES_PDF} since they might be in a shared image
directory, and if we don't list them in ${IMAGES_PDF} they will not be
copied to the working directory and will therefor not be found during
build.

Prompted by:	phantom


Revision 20416 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 24 22:57:56 2004 UTC (20 years, 3 months ago) by simon
File length: 30268 byte(s)
Diff to previous 20408
Unbreak creation of PDF documents which use PNG images (e.g.
articles/console-server), by also copying PNG images to the working
directory during PDF build.


Revision 20408 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 24 09:52:57 2004 UTC (20 years, 3 months ago) by phantom
File length: 30245 byte(s)
Diff to previous 20407
We never used .docb suffix in the project tree, so do not mention it
in comments.


Revision 20407 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 24 09:50:03 2004 UTC (20 years, 3 months ago) by phantom
File length: 30254 byte(s)
Diff to previous 20406
Introduce BZIP2_PACKAGE user defined variable which used to control
output format of 'make package'.  If BZIP2_PACKAGE is set, then .tbz
archive will be generated instead of .tgz.


Revision 20406 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 24 09:45:31 2004 UTC (20 years, 3 months ago) by phantom
File length: 29772 byte(s)
Diff to previous 20404
Fix 'make package' to generate valid packages

After introduction of shared images concept it was not possible to realize
how images should be put into packages, so built images references were
used.  It result up tgz file with lots filename which contained of '..'.

In order to workaround this issue I used temporary directory to install
complete packaging document, then generate PLIST based on content of
temporary directory and create actual package then.

Prodded by:	The FreeBSD Russian Documentation Project


Revision 20404 - (view) (download) (annotate) - [select for diffs]
Modified Tue Mar 23 23:53:27 2004 UTC (20 years, 3 months ago) by phantom
File length: 30095 byte(s)
Diff to previous 20037
Unconditionally set 'NO_SUBDIR' define.

doc.docbook.mk includes bsd.subdir.mk via bsd.obj.mk which is responsible
for processing of 'SUBDIR' make variable.  But since we are handling
'SUBDIR' here explicitly, doing same thing (second time!) via
bsd.subdir.mk's rules makes no sense and only adds disk IO overhead.

It reduces install recursive calls by factor 4.


Revision 20037 - (view) (download) (annotate) - [select for diffs]
Modified Mon Feb 16 14:13:24 2004 UTC (20 years, 4 months ago) by hrs
File length: 29946 byte(s)
Diff to previous 19989
Use FOO_CMD instead of FOO to avoid a conflict with a variable used
in the docproj port.  TEX, LATEX, PDFTEX, JADETEX, and PDFJADETEX
has been renamed to TEX_CMD, LATEX_CMD, PDFTEX_CMD, JADETEX_CMD, and
PDFJADETEX_CMD for consistency.  And TEXCMDS has been renamed
TEX_CMDSEQ because TEXCMDS and TEX_CMD are misleading names.

Discussed on:	-doc


Revision 19989 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 8 12:34:16 2004 UTC (20 years, 4 months ago) by hrs
File length: 29870 byte(s)
Diff to previous 19970
Install TRADEMARKS.html and LEGALNOTICE.html missing in HTML.manifest.


Revision 19970 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 4 16:47:22 2004 UTC (20 years, 5 months ago) by hrs
File length: 29692 byte(s)
Diff to previous 19102
Add $JADETEX and $JADEPDFTEX.


Revision 19102 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 8 02:37:02 2003 UTC (20 years, 7 months ago) by murray
File length: 29678 byte(s)
Diff to previous 18880
Add a 'GREYSCALE_IMAGES' option to the print infrastructure to convert
screenshots to greyscale before embedding them in the PostScript
output.

Sponsored by:	FreeBSD Mall, Inc.


Revision 18880 - (view) (download) (annotate) - [select for diffs]
Modified Sun Nov 16 18:56:24 2003 UTC (20 years, 7 months ago) by hrs
File length: 29537 byte(s)
Diff to previous 18301
Move lists of FreeBSD mirror sites to doc/share/sgml/mirrors.xml
(currently en_US.ISO8859-1/books/handbook/mirrors and
www/en/index.xsl use it).

Reviewed by:	simon
Discussed on:	-doc


Revision 18301 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 2 19:46:49 2003 UTC (20 years, 9 months ago) by ceri
File length: 29434 byte(s)
Diff to previous 18164
Add LEGALNOTICE.html and TRADEMARKS.html to CLEANFILES when appropriate.


Revision 18164 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 18 21:39:37 2003 UTC (20 years, 9 months ago) by simon
File length: 29144 byte(s)
Diff to previous 18124
Change the default Tidy options so it doesn't indent, and so it wraps
the lines at column 90, instead of the default 68.  This makes the
resulting HTML considerably smaller.

The change also band-aid a problem where Tidy wrap lines which shouldn't
have been wrapped.  This can cause extra spaces in the resulting HTML,
e.g. resulting in "( audio/lame)" instead of "(audio/lame)".

Discussed on:	-doc


Revision 18124 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 14 13:11:43 2003 UTC (20 years, 9 months ago) by simon
File length: 29138 byte(s)
Diff to previous 18006
Add support for optionally showing all trademark symbols, not just the
required symbols, by setting the make variable
WITH_ALL_TRADEMARK_SYMBOLS, to any non empty value.

This feature is mainly useful for document writers, to make sure all
trademarks are marked up correctly.


Revision 18006 - (view) (download) (annotate) - [select for diffs]
Modified Wed Aug 27 07:10:36 2003 UTC (20 years, 10 months ago) by blackend
File length: 28964 byte(s)
Diff to previous 17474
Add more warnings to make lint.  It should be possible now to find
empty and unclosed tags.  I used the word "should" because sometimes it
does not work, however most of malformed tags are found now.
That idea came after a talk with Denis Peplin.


Revision 17474 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jul 5 10:09:50 2003 UTC (21 years ago) by blackend
File length: 28911 byte(s)
Diff to previous 17465
Quick fix to produce correct html.tar and html.split.tar tarballs

PR:	docs/52419


Revision 17465 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 3 13:02:31 2003 UTC (21 years ago) by hrs
File length: 28557 byte(s)
Diff to previous 17462
Add ${PREFIX}/share/sgml/catalog.ports into ${CATALOGS} explicitly.


Revision 17462 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 3 03:49:48 2003 UTC (21 years ago) by kuriyama
File length: 28479 byte(s)
Diff to previous 17054
Collect catalogs only if avaiable.

In xmlcatmgr world, only ${PREFIX}/share/{sgml,xml}/catalog is
required from under ${PREFIX}.


Revision 17054 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 21 21:16:10 2003 UTC (21 years, 1 month ago) by trhodes
File length: 28468 byte(s)
Diff to previous 17028
Quiet a few make warnings by adding a few .if statements.
bsd.obj.mk already includes bsd.subdir.mk so there is no need
to include it twice.

PR:		52540
Submitted by:	"Simon L.Nielsen" <simon@nitro.dk>
Tested with:	cd doc/ && make


Revision 17028 - (view) (download) (annotate) - [select for diffs]
Modified Wed May 21 11:23:45 2003 UTC (21 years, 1 month ago) by ceri
File length: 28344 byte(s)
Diff to previous 16770
Slightly beef up the spellcheck target so that it works for the html-split
and txt formats as well as the html format.

Reviewed by:	murray


Revision 16770 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 4 04:59:43 2003 UTC (21 years, 2 months ago) by murray
File length: 27692 byte(s)
Diff to previous 16769
Add a simple script to locate areas of a DocBook file where
<indexterms> are sparse.  Also add makefile glue so that this may be
invoked on the Handbook or any other document in the FDP tree by
typing "make indexcheck".

Sponsored by:	FreeBSD Mall, Inc.


Revision 16769 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 4 04:51:09 2003 UTC (21 years, 2 months ago) by murray
File length: 27498 byte(s)
Diff to previous 16655
Add an ispell-based "spellcheck" target to the doc build
infrastructure.

Sponsored by:	FreeBSD Mall, Inc.


Revision 16655 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 22 18:35:44 2003 UTC (21 years, 2 months ago) by hrs
File length: 27345 byte(s)
Diff to previous 16601
Back out WITH_DOCFORMAT_NAVI_LINK?=YES in Makefile.  The navi-link
is generated when ${WITH_DOCFORMAT_NAVI_LINK} is defined or
${FORMATS} includes "html" and "html-split."


Revision 16601 - (view) (download) (annotate) - [select for diffs]
Modified Sat Apr 19 11:39:30 2003 UTC (21 years, 2 months ago) by hrs
File length: 27220 byte(s)
Diff to previous 16534
- Add WITH_DOCFORMAT_NAVI_LINK to mk/doc.docbook.mk and
  enable it in en_US.ISO8859-1/ and ja_JP.eucJP/.

- Add PUBLIC "-//FreeBSD//ENTITIES DocBook Language Specific Entities//EN"
  and l10n.ent for entity localization.

- Use share/misc/docbook.css for indentiation of <programlisting>
  and <screen>.

- Add some missing $FreeBSD$.


Revision 16534 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 11 09:21:15 2003 UTC (21 years, 2 months ago) by blackend
File length: 27093 byte(s)
Diff to previous 16523
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


Revision 16523 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 9 22:46:30 2003 UTC (21 years, 2 months ago) by ceri
File length: 26321 byte(s)
Diff to previous 16500
Now that the docproj port is updated accordingly, use version 4.2 of the
docbook-xml DTD when building with the xsl stylesheet.


Revision 16500 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 8 22:00:23 2003 UTC (21 years, 3 months ago) by ceri
File length: 26323 byte(s)
Diff to previous 16019
Clean up properly when STYLESHEET_TYPE is set to "xsl".

Reviewed by:	trhodes


Revision 16019 - (view) (download) (annotate) - [select for diffs]
Modified Sun Feb 16 14:59:30 2003 UTC (21 years, 4 months ago) by hrs
File length: 26250 byte(s)
Diff to previous 15869
Add the following knobs for the DocBook DSSSL stylesheets:

 - WITH_INLINE_LEGALNOTICE (for HTML only):
     do not render <legalnotice> as a separate file if defined.

 - WITH_ARTICLE_TOC:
     generate TOC for documents whose root element is <article> if defined.

 - WITH_BIBLIOXREF_TITLE:
     for cross references to bibliography entries, use the title of
     the entry as the cross reference text, if defined.


Revision 15869 - (view) (download) (annotate) - [select for diffs]
Modified Sat Feb 1 15:14:40 2003 UTC (21 years, 5 months ago) by blackend
File length: 25843 byte(s)
Diff to previous 15452
Add ${DOC}.ps in pdf target CLEANFILES, this is needed to correctly clean
the Handbook build in pdf format.


Revision 15452 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 29 13:01:16 2002 UTC (21 years, 6 months ago) by blackend
File length: 25833 byte(s)
Diff to previous 15443
Add ${DOC}.tex to CLEANFILES list of ps and pdf formats.


Revision 15443 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 27 00:25:42 2002 UTC (21 years, 6 months ago) by trhodes
File length: 25807 byte(s)
Diff to previous 15213
Create XHTML documents in place of HTML4 documents with a small alteration
to the *.mk files.


Revision 15213 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 7 20:12:45 2002 UTC (21 years, 7 months ago) by blackend
File length: 25800 byte(s)
Diff to previous 14966
Add some ${LOCAL_IMAGES_TXT} where needed to allow the build of various
formats: rtf and pdf.

Problem found by:	ceri


Revision 14966 - (view) (download) (annotate) - [select for diffs]
Added Wed Nov 20 19:41:10 2002 UTC (21 years, 7 months ago) by ceri
File length: 25732 byte(s)
Diff to previous 14880
s/seperate/separate/



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.27