Commit graph

372 commits

Author SHA1 Message Date
Wolfram Schneider
032bcd2bf6 switch to HTTPS
PR: 222676
2017-09-29 09:46:32 +00:00
Wolfram Schneider
066c47a505 switch to HTTPS
PR: 222676
2017-09-29 09:18:35 +00:00
Wolfram Schneider
ef69133f3b switch to HTTPS
PR: 222676
2017-09-29 09:11:33 +00:00
Wolfram Schneider
1ce60faecf new variable XMLDOCS_NO_SRCS
if set there will be no implicit adding of files to SRCS, which may
break `make -n', or `make -j1', or dependencies checking

PR: 222631
2017-09-28 16:59:08 +00:00
Wolfram Schneider
bb54e772f9 support parallel obj
$ make p-obj

PR: 222322
2017-09-21 10:08:01 +00:00
Wolfram Schneider
b814de5aaf get the number of max_jobs from the command line args as well,
e..g:

$ make -j16 p-all
2017-09-20 09:28:40 +00:00
Wolfram Schneider
1e39127174 support parallel clean
$ make p-clean

PR: 222322
2017-09-19 17:40:05 +00:00
Wolfram Schneider
5472c07a33 Implement workaround for a parallel doc build
$ make p-all

It works for the sub-directories in a given directory.

On a standard quad core machine the build time goes down
from ca. 20min to 5 minutes.

PR: 222322
2017-09-19 10:03:26 +00:00
Wolfram Schneider
0b4df7438b fix race conditions in doc image builds
PR: 222327
2017-09-19 09:57:15 +00:00
Wolfram Schneider
e041adf9e7 cleanup *.ps files
PR: 222252
2017-09-19 09:54:21 +00:00
Wolfram Schneider
b0758f9328 Fix make -n' and make -j1'
PR: 222186
2017-09-19 09:50:17 +00:00
Warren Block
13f5ecf9c7 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
2017-09-08 14:29:06 +00:00
Warren Block
502f6e6848 Trim obsolete translations from PO files. These are translations for
text which does not exist in the original English document any more.
2017-08-14 21:08:28 +00:00
Warren Block
53c6e4e7db Use Subversion metadata for version information rather than grepping for
$FreeBSD$ version strings.
2017-05-05 13:50:57 +00:00
Baptiste Daroussin
f1e3b6cc55 Bump copyright year.
Happy New Year 2017!
2016-12-31 12:48:51 +00:00
Warren Block
bc9859bd07 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
2016-07-04 14:56:42 +00:00
Hiroki Sato
e5c4255d90 Use INDEX for the latest production release branch. 2016-06-27 00:01:56 +00:00
Mathieu Arnold
341a558a78 Fix using LATESTREVISION when not using svn (or svn is broken)
Kinda ok'ed by:	wblock
Sponsored by:	Absolight
2016-06-14 14:02:59 +00:00
Warren Block
094ccc9b32 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
2016-05-04 22:04:56 +00:00
Warren Block
84c6577fe8 Generate the correct paths to images in epub documents. 2016-05-04 21:35:12 +00:00
Warren Block
0ab691adb0 Stop putting PDF contents in .ps and .rtf files. 2016-05-01 17:19:54 +00:00
Warren Block
5f388dea1d 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.
2016-01-26 23:42:48 +00:00
Warren Block
e7f931fbcf Put a plain $FreeBSD$ in the generated PO, rather than an ID string that
has been expanded by Subversion.  Thanks to bjk!
2016-01-26 23:27:44 +00:00
Warren Block
45e34fab2b Improve the formatting of dblatex-produced PDF documents. 2016-01-25 21:22:06 +00:00
Warren Block
39acb24640 Remove extraneous whitespace. 2016-01-15 01:59:38 +00:00
Bjoern A. Zeeb
8c4fed951e Bump copyright year.
Happy New Year 2016!
2015-12-31 11:31:41 +00:00
Warren Block
9f1fd7d856 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
2015-10-31 17:45:11 +00:00
Warren Block
0a4ab32374 Make the normalized translation file depend on all the SRCS of the
English original document.

Reviewed by:	rene
2015-10-28 00:53:13 +00:00
Warren Block
832689be3b Use the en_US xmllint catalog variables so translated entities do not
make their way into PO translations.

Reviewed by:	rene
2015-10-16 22:30:02 +00:00
Warren Block
f78699024c Remove a duplicated {PO_LANG}.mo from CLEANFILES.
Modify the PO_SET script to add a #$FreeBSD$ line to new PO files.
2015-10-13 21:45:26 +00:00
Warren Block
faabf968e9 Add PO translation support.
Reviewed by:	hrs (earlier version), blackend
Approved by:	doceng (implicit)
Differential Revision:	https://reviews.freebsd.org/D2947
2015-08-24 15:54:10 +00:00
Warren Block
dfe61c9435 Allow installing website as an unprivileged user.
Reviewed by:	hrs
Approved by:	doceng (implicit)
2015-07-23 02:51:10 +00:00
Warren Block
de3c946bda 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
2015-07-17 05:30:04 +00:00
Warren Block
bec94907eb Increase the global size of maxvars for xsltproc to help it choke down
large indigestible blobs like the PGP keys article.  Also remove the
special settings in the PGP Keys article Makefile that are no longer
necessary.
2015-06-30 14:47:21 +00:00
Benedict Reuschling
e387536540 Remove instance of nonexistent catalog-common.xml from the doc toolchain.
There is no reference in any other file and a full doc build does not fail
when it is missing.

Differential Revision:	https://reviews.freebsd.org/D2880
Reviewed by:	wblock, hrs
Approved by:	hrs (doceng)
2015-06-24 18:18:52 +00:00
Bjoern A. Zeeb
f05cca897d Bump copyright year.
Happy New Year 2015!
2014-12-31 10:00:44 +00:00
Gabor Kovesdan
bc0ea04e7d - Move the PGP keyring generation to the language-independent share directory
Discussed with:	hrs, wblock
2014-03-07 12:23:51 +00:00
Hiroki Sato
826bb636a9 Add authors.ent as a dependency for wwwstd. 2014-02-07 05:23:55 +00:00
Glen Barber
c5b864fbfc Bump copyright year.
Happy New Year 2014!

Sponsored by:	The FreeBSD Foundation
2013-12-31 12:33:29 +00:00
Hiroki Sato
5e44b57891 Use URI to specify xhtml.xsl. 2013-11-14 21:39:04 +00:00
Hiroki Sato
b436d0a16d - 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.
2013-11-13 07:07:52 +00:00
Hiroki Sato
52f6d56540 - 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.
2013-11-13 06:10:37 +00:00
Hiroki Sato
ae0395da63 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.
2013-11-11 19:26:20 +00:00
Hiroki Sato
6db049ce33 Use XML catalog resolution wherever possible instead of absolute pathnames
for external entities.
2013-11-11 18:12:26 +00:00
Hiroki Sato
982ae5a81b Revert an unintended change in the previous commit. 2013-11-11 06:54:40 +00:00
Hiroki Sato
db0b08db8f - Define l10n.ent as an entity in localized directories and make them be
picked up via XML catalog in freebsd50.ent or xhtml10-freebsd.dtd,
  not entities.ent.  The L10N entities always come first to be able to
  override everything.

- Define &nbsp; as &#x20; in EUC-JP encoding.  This is a workaround to
  prevent an invalid character in EUC-JP caused by converting 0xa0 in
  UTF-8 (EUC-JP does not allow 0xa0) in XSLT processing.  Theoretically
  it should be &#xa0; still in the final XML output.

- Make XML catalog resolution consistent for l10n.ent.  This should be
  revisited for the others later.
2013-11-11 06:52:59 +00:00
Gabor Kovesdan
181f228a2f - Fix build of release notes
Approved by:	doceng (self)
2013-11-07 18:20:08 +00:00
Gabor Kovesdan
c7e8c2a60b - Really fix profiling 2013-11-07 12:48:24 +00:00
Gabor Kovesdan
561270fafd - Default PDF renderer will be FOP 2013-11-07 12:44:37 +00:00
Gabor Kovesdan
61e970ba9d - Fix profiling support 2013-11-07 12:44:11 +00:00