talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 029cf7820a23f5d2b814339d5d15d28490d4bf24
parent 48b2af2c113c24f2b931c6edecdfd053832ce31e
Author: Jonathan Boeing <jonathan@claws-mail.org>
Date:   Mon, 29 Nov 2021 18:51:32 -0700

Build manuals in parallel

Diffstat:
M.gitignore | 18++++++++----------
Mconfigure.ac | 18------------------
Mmanual/Makefile.am | 83+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------
Dmanual/claws-mail-manual.xml | 64----------------------------------------------------------------
Dmanual/de/Makefile.am | 25-------------------------
Dmanual/de/dist/Makefile.am | 8--------
Dmanual/de/dist/html/Makefile.am | 35-----------------------------------
Dmanual/de/dist/pdf/Makefile.am | 31-------------------------------
Dmanual/de/dist/ps/Makefile.am | 31-------------------------------
Dmanual/de/dist/txt/Makefile.am | 31-------------------------------
Dmanual/dist/Makefile.am | 8--------
Dmanual/dist/html/Makefile.am | 35-----------------------------------
Dmanual/dist/pdf/Makefile.am | 31-------------------------------
Dmanual/dist/ps/Makefile.am | 31-------------------------------
Dmanual/dist/txt/Makefile.am | 31-------------------------------
Dmanual/dtd/Makefile.am | 9---------
Dmanual/dtd/manual.dsl | 22----------------------
Dmanual/dtd/manual.xsl | 72------------------------------------------------------------------------
Rmanual/account.xml -> manual/en/account.xml | 0
Rmanual/ack.xml -> manual/en/ack.xml | 0
Rmanual/addrbook.xml -> manual/en/addrbook.xml | 0
Rmanual/advanced.xml -> manual/en/advanced.xml | 0
Amanual/en/claws-mail-manual.xml | 64++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rmanual/faq.xml -> manual/en/faq.xml | 0
Rmanual/glossary.xml -> manual/en/glossary.xml | 0
Rmanual/gpl.xml -> manual/en/gpl.xml | 0
Rmanual/handling.xml -> manual/en/handling.xml | 0
Rmanual/intro.xml -> manual/en/intro.xml | 0
Rmanual/keyboard.xml -> manual/en/keyboard.xml | 0
Rmanual/plugins.xml -> manual/en/plugins.xml | 0
Rmanual/starting.xml -> manual/en/starting.xml | 0
Dmanual/es/Makefile.am | 25-------------------------
Dmanual/es/dist/Makefile.am | 8--------
Dmanual/es/dist/html/Makefile.am | 35-----------------------------------
Dmanual/es/dist/pdf/Makefile.am | 31-------------------------------
Dmanual/es/dist/ps/Makefile.am | 31-------------------------------
Dmanual/es/dist/txt/Makefile.am | 31-------------------------------
Dmanual/fr/Makefile.am | 25-------------------------
Dmanual/fr/dist/Makefile.am | 8--------
Dmanual/fr/dist/html/Makefile.am | 35-----------------------------------
Dmanual/fr/dist/pdf/Makefile.am | 31-------------------------------
Dmanual/fr/dist/ps/Makefile.am | 31-------------------------------
Dmanual/fr/dist/txt/Makefile.am | 31-------------------------------
Dmanual/pl/Makefile.am | 25-------------------------
Dmanual/pl/dist/Makefile.am | 8--------
Dmanual/pl/dist/html/Makefile.am | 35-----------------------------------
Dmanual/pl/dist/pdf/Makefile.am | 31-------------------------------
Dmanual/pl/dist/ps/Makefile.am | 31-------------------------------
Dmanual/pl/dist/txt/Makefile.am | 31-------------------------------
49 files changed, 139 insertions(+), 991 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -63,16 +63,14 @@ Makefile.in /m4/uintmax_t.m4 /m4/ulongulong.m4 /m4/intltool.m4 -/manual/*/dist/claws-mail-manual.* -/manual/*/dist/html/claws-mail-manual.* -/manual/*/dist/pdf/claws-mail-manual.* -/manual/*/dist/ps/claws-mail-manual.* -/manual/*/dist/txt/claws-mail-manual.* -/manual/dist/claws-mail-manual.* -/manual/dist/html/claws-mail-manual.* -/manual/dist/pdf/claws-mail-manual.* -/manual/dist/ps/claws-mail-manual.* -/manual/dist/txt/claws-mail-manual.* +/manual/*/claws-mail-manual.html +/manual/*/claws-mail-manual.pdf +/manual/*/claws-mail-manual.ps +/manual/*/claws-mail-manual.txt +/manual/*/html +/manual/*/pdf +/manual/*/ps +/manual/*/txt /patches /*.patchset /po/boldquot.sed diff --git a/configure.ac b/configure.ac @@ -2207,24 +2207,6 @@ doc/man/Makefile tools/Makefile config/Makefile manual/Makefile -manual/dtd/Makefile -manual/dist/Makefile -manual/dist/pdf/Makefile -manual/dist/ps/Makefile -manual/dist/html/Makefile -manual/dist/txt/Makefile -manual/fr/Makefile -manual/fr/dist/Makefile -manual/fr/dist/pdf/Makefile -manual/fr/dist/ps/Makefile -manual/fr/dist/html/Makefile -manual/fr/dist/txt/Makefile -manual/es/Makefile -manual/es/dist/Makefile -manual/es/dist/pdf/Makefile -manual/es/dist/ps/Makefile -manual/es/dist/html/Makefile -manual/es/dist/txt/Makefile claws-mail.pc ]) diff --git a/manual/Makefile.am b/manual/Makefile.am @@ -1,25 +1,76 @@ -# Copyright 1999-2014 the Claws Mail team. +# Copyright 1999-2021 the Claws Mail team. # This file is part of Claws Mail package, and distributed under the # terms of the General Public License version 3 (or later). # See COPYING file for license details. +LANGS=en es fr +EXTRA_DIST=dtd $(LANGS) + if BUILD_MANUAL -SUBDIRS=dtd dist es fr + +HTML_MANUALS=$(foreach lang,$(LANGS),$(lang)/claws-mail-manual.html) +PDF_MANUALS=$(foreach lang,$(LANGS),$(lang)/claws-mail-manual.pdf) +PS_MANUALS=$(foreach lang,$(LANGS),$(lang)/claws-mail-manual.ps) +TXT_MANUALS=$(foreach lang,$(LANGS),$(lang)/claws-mail-manual.txt) + +manual_deps = \ + $(1)/claws-mail-manual.xml \ + $(1)/account.xml \ + $(1)/ack.xml \ + $(1)/addrbook.xml \ + $(1)/advanced.xml \ + $(1)/faq.xml \ + $(1)/glossary.xml \ + $(1)/gpl.xml \ + $(1)/handling.xml \ + $(1)/intro.xml \ + $(1)/keyboard.xml \ + $(1)/plugins.xml \ + $(1)/starting.xml + +define HTML_template = +$(1)/claws-mail-manual.$(2): $(manual_deps) + @$(MKDIR_P) $(1)/$(2) + SP_ENCODING=xml $(DOCBOOK2HTML) -u -o $(1)/$(2) $$< + $(SED) 's,^><META,><META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><META,' $(1)/$(2)/claws-mail-manual.$(2) > $$@ + rm -rf $(1)/$(2) +endef + +define BASE_template = +$(1)/claws-mail-manual.$(2): $(manual_deps) + @$(MKDIR_P) $(1)/$(2) + $(DOCBOOK2PDF) -b $(2) -o $(1)/$(2) $$< + mv -f $(1)/$(2)/claws-mail-manual.$(2) $$@ + rm -rf $(1)/$(2) +endef + +if MANUAL_HTML +nobase_dist_manualhtml_DATA=$(HTML_MANUALS) +manualhtmldir=$(manualdir) +$(foreach lang,$(LANGS),$(eval $(call HTML_template,$(lang),html))) +endif + +if MANUAL_PDF +nobase_dist_manualpdf_DATA=$(PDF_MANUALS) +manualpdfdir=$(manualdir) +$(foreach lang,$(LANGS),$(eval $(call BASE_template,$(lang),pdf))) +endif + +if MANUAL_PS +nobase_dist_manualps_DATA=$(PS_MANUALS) +manualpsdir=$(manualdir) +$(foreach lang,$(LANGS),$(eval $(call BASE_template,$(lang),ps))) endif -EXTRA_DIST = \ - account.xml \ - ack.xml \ - addrbook.xml \ - advanced.xml \ - faq.xml \ - glossary.xml \ - gpl.xml \ - handling.xml \ - intro.xml \ - keyboard.xml \ - plugins.xml \ - starting.xml \ - claws-mail-manual.xml +if MANUAL_TXT +nobase_dist_manualtxt_DATA=$(TXT_MANUALS) +manualtxtdir=$(manualdir) +$(foreach lang,$(LANGS),$(eval $(call BASE_template,$(lang),txt))) +endif + +maintainer-clean: + -rm -f $(HTML_MANUALS) $(PDF_MANUALS) $(PS_MANUALS) $(TXT_MANUALS) + +endif .PHONY: test diff --git a/manual/claws-mail-manual.xml b/manual/claws-mail-manual.xml @@ -1,64 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!DOCTYPE article SYSTEM "dtd/sdocbook.dtd" [ - <!ENTITY ch_intro SYSTEM "intro.xml"> - <!ENTITY ch_starting SYSTEM "starting.xml"> - <!ENTITY ch_handling SYSTEM "handling.xml"> - <!ENTITY ch_account SYSTEM "account.xml"> - <!ENTITY ch_advanced SYSTEM "advanced.xml"> - <!ENTITY ch_plugins SYSTEM "plugins.xml"> - <!ENTITY ch_addrbook SYSTEM "addrbook.xml"> - <!ENTITY ap_faq SYSTEM "faq.xml"> - <!ENTITY ap_keyboard SYSTEM "keyboard.xml"> - <!ENTITY ap_glossary SYSTEM "glossary.xml"> - <!ENTITY ap_ack SYSTEM "ack.xml"> - <!ENTITY ap_gpl SYSTEM "gpl.xml"> -]> -<article> - <title>The Claws Mail User Manual</title> - <subtitle></subtitle> - <articleinfo> - <corpauthor> - <ulink url="http://www.claws-mail.org/">The Claws Mail Team</ulink> - </corpauthor> - <copyright> - <year>2006-2016</year> - <holder>The Claws Mail Team.</holder> - </copyright> - <legalnotice id="license"> - <para> - This program is free software; you can redistribute it and/or modify it under the terms of the <acronym>GNU</acronym> General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - </para> - <para> - This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <acronym>GNU</acronym> General Public License for more details. - </para> - <para> - You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - </para> - </legalnotice> - </articleinfo> - <?hard-pagebreak?> - &ch_intro; - <?hard-pagebreak?> - &ch_starting; - <?hard-pagebreak?> - &ch_handling; - <?hard-pagebreak?> - &ch_account; - <?hard-pagebreak?> - &ch_addrbook; - <?hard-pagebreak?> - &ch_advanced; - <?hard-pagebreak?> - &ch_plugins; - <?hard-pagebreak?> - &ap_faq; - <?hard-pagebreak?> - &ap_keyboard; - <?hard-pagebreak?> - &ap_ack; - <?hard-pagebreak?> - &ap_glossary; - <?hard-pagebreak?> - &ap_gpl; -</article> - diff --git a/manual/de/Makefile.am b/manual/de/Makefile.am @@ -1,25 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if BUILD_MANUAL -SUBDIRS=dist -endif - -EXTRA_DIST = \ - account.xml \ - ack.xml \ - addrbook.xml \ - advanced.xml \ - faq.xml \ - glossary.xml \ - gpl.xml \ - handling.xml \ - intro.xml \ - keyboard.xml \ - plugins.xml \ - starting.xml \ - claws-mail-manual.xml - -.PHONY: test diff --git a/manual/de/dist/Makefile.am b/manual/de/dist/Makefile.am @@ -1,8 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -SUBDIRS=html pdf ps txt - -.PHONY: test diff --git a/manual/de/dist/html/Makefile.am b/manual/de/dist/html/Makefile.am @@ -1,35 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_HTML -EXTRA_DIST=claws-mail-manual.html -manualde_DATA=claws-mail-manual.html -manualdedir=$(manualdir)/de - -claws-mail-manual.html: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -SP_ENCODING=xml $(DOCBOOK2HTML) -u -o . \ - $(srcdir)/../../claws-mail-manual.xml - -mv -f claws-mail-manual.html claws-mail-manual.html.raw - -$(SED) 's,^><META,><META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><META,' < claws-mail-manual.html.raw > claws-mail-manual.html - -maintainer-clean: - -rm claws-mail-manual.html - -rm claws-mail-manual.html.raw -endif - -.PHONY: test diff --git a/manual/de/dist/pdf/Makefile.am b/manual/de/dist/pdf/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PDF -EXTRA_DIST=claws-mail-manual.pdf -manualde_DATA=claws-mail-manual.pdf -manualdedir=$(manualdir)/de - -claws-mail-manual.pdf: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PDF) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.pdf claws-mail-manual.fo claws-mail-manual.xsl -endif - -.PHONY: test diff --git a/manual/de/dist/ps/Makefile.am b/manual/de/dist/ps/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PS -EXTRA_DIST=claws-mail-manual.ps -manualde_DATA=claws-mail-manual.ps -manualdedir=$(manualdir)/de - -claws-mail-manual.ps: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PS) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.ps -endif - -.PHONY: test diff --git a/manual/de/dist/txt/Makefile.am b/manual/de/dist/txt/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_TXT -EXTRA_DIST=claws-mail-manual.txt -manualde_DATA=claws-mail-manual.txt -manualdedir=$(manualdir)/de - -claws-mail-manual.txt: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2TXT) -o . $(srcdir)/../../claws-mail-manual.xml - -maintainer-clean: - -rm claws-mail-manual.txt -endif - -.PHONY: test diff --git a/manual/dist/Makefile.am b/manual/dist/Makefile.am @@ -1,8 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -SUBDIRS=html pdf ps txt - -.PHONY: test diff --git a/manual/dist/html/Makefile.am b/manual/dist/html/Makefile.am @@ -1,35 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_HTML -EXTRA_DIST=claws-mail-manual.html -manualde_DATA=claws-mail-manual.html -manualdedir=$(manualdir)/en - -claws-mail-manual.html: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -SP_ENCODING=xml $(DOCBOOK2HTML) -u -o . \ - $(srcdir)/../../claws-mail-manual.xml - -mv -f claws-mail-manual.html claws-mail-manual.html.raw - -$(SED) 's,^><META,><META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><META,' < claws-mail-manual.html.raw > claws-mail-manual.html - -maintainer-clean: - -rm claws-mail-manual.html - -rm claws-mail-manual.html.raw -endif - -.PHONY: test diff --git a/manual/dist/pdf/Makefile.am b/manual/dist/pdf/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PDF -EXTRA_DIST=claws-mail-manual.pdf -manualde_DATA=claws-mail-manual.pdf -manualdedir=$(manualdir)/en - -claws-mail-manual.pdf: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PDF) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.pdf claws-mail-manual.fo claws-mail-manual.xsl -endif - -.PHONY: test diff --git a/manual/dist/ps/Makefile.am b/manual/dist/ps/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PS -EXTRA_DIST=claws-mail-manual.ps -manualde_DATA=claws-mail-manual.ps -manualdedir=$(manualdir)/en - -claws-mail-manual.ps: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PS) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.ps -endif - -.PHONY: test diff --git a/manual/dist/txt/Makefile.am b/manual/dist/txt/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_TXT -EXTRA_DIST=claws-mail-manual.txt -manualde_DATA=claws-mail-manual.txt -manualdedir=$(manualdir)/en - -claws-mail-manual.txt: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2TXT) -o . $(srcdir)/../../claws-mail-manual.xml - -maintainer-clean: - -rm claws-mail-manual.txt -endif - -.PHONY: test diff --git a/manual/dtd/Makefile.am b/manual/dtd/Makefile.am @@ -1,9 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -EXTRA_DIST= \ - manual.dsl sdocbook.dtd - -.PHONY: test diff --git a/manual/dtd/manual.dsl b/manual/dtd/manual.dsl @@ -1,22 +0,0 @@ -<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ -<!ENTITY html-ss - PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA dsssl> -<!ENTITY print-ss - PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA dsssl> -]> - -<style-sheet> - <style-specification id="print" use="print-stylesheet"> - <style-specification-body> - (define %paper-type% "A4") - (define %default-quadding% 'justify) - </style-specification-body> - </style-specification> - <style-specification id="html" use="html-stylesheet"> - <style-specification-body> - </style-specification-body> - </style-specification> - <external-specification id="print-stylesheet" document="print-ss"> - <external-specification id="html-stylesheet" document="html-ss"> -</style-sheet> - diff --git a/manual/dtd/manual.xsl b/manual/dtd/manual.xsl @@ -1,72 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:fo="http://www.w3.org/1999/XSL/Format" - version="1.0"> - -<xsl:import href="@DOCBOOK_XSL_PATH@/fo/docbook.xsl"/> - -<xsl:param name="fop1.extensions" select="1"/> -<xsl:param name="title.margin.left" select="'0pt'"/> -<xsl:param name="body.start.indent" select="'0pt'"/> -<xsl:param name="variablelist.as.blocks" select="1"/> -<xsl:param name="paper.type" select="'A4'"/> - -<xsl:template match="processing-instruction('hard-pagebreak')"> - <fo:block break-before='page'/> -</xsl:template> - -<xsl:template match="appendix[@id='ap_glossary']/variablelist" - mode="fop1.outline"> - - <xsl:variable name="id"> - <xsl:call-template name="object.id"/> - </xsl:variable> - - <xsl:variable name="bookmark-label"> - <xsl:apply-templates select="." mode="object.title.markup"/> - </xsl:variable> - - <!-- Put the root element bookmark at the same level as its children --> - <!-- If the object is a set or book, generate a bookmark for the toc --> - - <xsl:choose> - <xsl:when test="parent::*"> - <fo:bookmark internal-destination="{$id}"> - <fo:bookmark-title> - <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/> - </fo:bookmark-title> - <xsl:apply-templates select="*" mode="fop1.outline"/> - </fo:bookmark> - </xsl:when> - <xsl:otherwise> - <fo:bookmark internal-destination="{$id}"> - <fo:bookmark-title> - <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/> - </fo:bookmark-title> - </fo:bookmark> - - <xsl:variable name="toc.params"> - <xsl:call-template name="find.path.params"> - <xsl:with-param name="table" select="normalize-space($generate.toc)"/> - </xsl:call-template> - </xsl:variable> - - <xsl:if test="contains($toc.params, 'toc') - and (book|part|reference|preface|chapter|appendix|article - |glossary|bibliography|index|setindex - |refentry - |sect1|sect2|sect3|sect4|sect5|section)"> - <fo:bookmark internal-destination="toc...{$id}"> - <fo:bookmark-title> - <xsl:call-template name="gentext"> - <xsl:with-param name="key" select="'TableofContents'"/> - </xsl:call-template> - </fo:bookmark-title> - </fo:bookmark> - </xsl:if> - <xsl:apply-templates select="*" mode="fop1.outline"/> - </xsl:otherwise> - </xsl:choose> -</xsl:template> - -</xsl:stylesheet> diff --git a/manual/account.xml b/manual/en/account.xml diff --git a/manual/ack.xml b/manual/en/ack.xml diff --git a/manual/addrbook.xml b/manual/en/addrbook.xml diff --git a/manual/advanced.xml b/manual/en/advanced.xml diff --git a/manual/en/claws-mail-manual.xml b/manual/en/claws-mail-manual.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE article SYSTEM "../dtd/sdocbook.dtd" [ + <!ENTITY ch_intro SYSTEM "intro.xml"> + <!ENTITY ch_starting SYSTEM "starting.xml"> + <!ENTITY ch_handling SYSTEM "handling.xml"> + <!ENTITY ch_account SYSTEM "account.xml"> + <!ENTITY ch_advanced SYSTEM "advanced.xml"> + <!ENTITY ch_plugins SYSTEM "plugins.xml"> + <!ENTITY ch_addrbook SYSTEM "addrbook.xml"> + <!ENTITY ap_faq SYSTEM "faq.xml"> + <!ENTITY ap_keyboard SYSTEM "keyboard.xml"> + <!ENTITY ap_glossary SYSTEM "glossary.xml"> + <!ENTITY ap_ack SYSTEM "ack.xml"> + <!ENTITY ap_gpl SYSTEM "gpl.xml"> +]> +<article> + <title>The Claws Mail User Manual</title> + <subtitle></subtitle> + <articleinfo> + <corpauthor> + <ulink url="http://www.claws-mail.org/">The Claws Mail Team</ulink> + </corpauthor> + <copyright> + <year>2006-2016</year> + <holder>The Claws Mail Team.</holder> + </copyright> + <legalnotice id="license"> + <para> + This program is free software; you can redistribute it and/or modify it under the terms of the <acronym>GNU</acronym> General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + </para> + <para> + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <acronym>GNU</acronym> General Public License for more details. + </para> + <para> + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + </para> + </legalnotice> + </articleinfo> + <?hard-pagebreak?> + &ch_intro; + <?hard-pagebreak?> + &ch_starting; + <?hard-pagebreak?> + &ch_handling; + <?hard-pagebreak?> + &ch_account; + <?hard-pagebreak?> + &ch_addrbook; + <?hard-pagebreak?> + &ch_advanced; + <?hard-pagebreak?> + &ch_plugins; + <?hard-pagebreak?> + &ap_faq; + <?hard-pagebreak?> + &ap_keyboard; + <?hard-pagebreak?> + &ap_ack; + <?hard-pagebreak?> + &ap_glossary; + <?hard-pagebreak?> + &ap_gpl; +</article> + diff --git a/manual/faq.xml b/manual/en/faq.xml diff --git a/manual/glossary.xml b/manual/en/glossary.xml diff --git a/manual/gpl.xml b/manual/en/gpl.xml diff --git a/manual/handling.xml b/manual/en/handling.xml diff --git a/manual/intro.xml b/manual/en/intro.xml diff --git a/manual/keyboard.xml b/manual/en/keyboard.xml diff --git a/manual/plugins.xml b/manual/en/plugins.xml diff --git a/manual/starting.xml b/manual/en/starting.xml diff --git a/manual/es/Makefile.am b/manual/es/Makefile.am @@ -1,25 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if BUILD_MANUAL -SUBDIRS=dist -endif - -EXTRA_DIST = \ - account.xml \ - ack.xml \ - addrbook.xml \ - advanced.xml \ - faq.xml \ - glossary.xml \ - gpl.xml \ - handling.xml \ - intro.xml \ - keyboard.xml \ - plugins.xml \ - starting.xml \ - claws-mail-manual.xml - -.PHONY: test diff --git a/manual/es/dist/Makefile.am b/manual/es/dist/Makefile.am @@ -1,8 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -SUBDIRS=html pdf ps txt - -.PHONY: test diff --git a/manual/es/dist/html/Makefile.am b/manual/es/dist/html/Makefile.am @@ -1,35 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_HTML -EXTRA_DIST=claws-mail-manual.html -manualde_DATA=claws-mail-manual.html -manualdedir=$(manualdir)/es - -claws-mail-manual.html: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -SP_ENCODING=xml $(DOCBOOK2HTML) -u -o . \ - $(srcdir)/../../claws-mail-manual.xml - -mv -f claws-mail-manual.html claws-mail-manual.html.raw - -$(SED) 's,^><META,><META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><META,' < claws-mail-manual.html.raw > claws-mail-manual.html - -maintainer-clean: - -rm claws-mail-manual.html - -rm claws-mail-manual.html.raw -endif - -.PHONY: test diff --git a/manual/es/dist/pdf/Makefile.am b/manual/es/dist/pdf/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PDF -EXTRA_DIST=claws-mail-manual.pdf -manualde_DATA=claws-mail-manual.pdf -manualdedir=$(manualdir)/es - -claws-mail-manual.pdf: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PDF) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.pdf claws-mail-manual.fo claws-mail-manual.xsl -endif - -.PHONY: test diff --git a/manual/es/dist/ps/Makefile.am b/manual/es/dist/ps/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PS -EXTRA_DIST=claws-mail-manual.ps -manualde_DATA=claws-mail-manual.ps -manualdedir=$(manualdir)/es - -claws-mail-manual.ps: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PS) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.ps -endif - -.PHONY: test diff --git a/manual/es/dist/txt/Makefile.am b/manual/es/dist/txt/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_TXT -EXTRA_DIST=claws-mail-manual.txt -manualde_DATA=claws-mail-manual.txt -manualdedir=$(manualdir)/es - -claws-mail-manual.txt: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2TXT) -o . $(srcdir)/../../claws-mail-manual.xml - -maintainer-clean: - -rm claws-mail-manual.txt -endif - -.PHONY: test diff --git a/manual/fr/Makefile.am b/manual/fr/Makefile.am @@ -1,25 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if BUILD_MANUAL -SUBDIRS=dist -endif - -EXTRA_DIST = \ - account.xml \ - ack.xml \ - addrbook.xml \ - advanced.xml \ - faq.xml \ - glossary.xml \ - gpl.xml \ - handling.xml \ - intro.xml \ - keyboard.xml \ - plugins.xml \ - starting.xml \ - claws-mail-manual.xml - -.PHONY: test diff --git a/manual/fr/dist/Makefile.am b/manual/fr/dist/Makefile.am @@ -1,8 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -SUBDIRS=html pdf ps txt - -.PHONY: test diff --git a/manual/fr/dist/html/Makefile.am b/manual/fr/dist/html/Makefile.am @@ -1,35 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_HTML -EXTRA_DIST=claws-mail-manual.html -manualde_DATA=claws-mail-manual.html -manualdedir=$(manualdir)/fr - -claws-mail-manual.html: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -SP_ENCODING=xml $(DOCBOOK2HTML) -u -o . \ - $(srcdir)/../../claws-mail-manual.xml - -mv -f claws-mail-manual.html claws-mail-manual.html.raw - -$(SED) 's,^><META,><META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><META,' < claws-mail-manual.html.raw > claws-mail-manual.html - -maintainer-clean: - -rm claws-mail-manual.html - -rm claws-mail-manual.html.raw -endif - -.PHONY: test diff --git a/manual/fr/dist/pdf/Makefile.am b/manual/fr/dist/pdf/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PDF -EXTRA_DIST=claws-mail-manual.pdf -manualde_DATA=claws-mail-manual.pdf -manualdedir=$(manualdir)/fr - -claws-mail-manual.pdf: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PDF) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.pdf claws-mail-manual.fo claws-mail-manual.xsl -endif - -.PHONY: test diff --git a/manual/fr/dist/ps/Makefile.am b/manual/fr/dist/ps/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PS -EXTRA_DIST=claws-mail-manual.ps -manualde_DATA=claws-mail-manual.ps -manualdedir=$(manualdir)/fr - -claws-mail-manual.ps: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PS) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.ps -endif - -.PHONY: test diff --git a/manual/fr/dist/txt/Makefile.am b/manual/fr/dist/txt/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_TXT -EXTRA_DIST=claws-mail-manual.txt -manualde_DATA=claws-mail-manual.txt -manualdedir=$(manualdir)/fr - -claws-mail-manual.txt: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2TXT) -o . $(srcdir)/../../claws-mail-manual.xml - -maintainer-clean: - -rm claws-mail-manual.txt -endif - -.PHONY: test diff --git a/manual/pl/Makefile.am b/manual/pl/Makefile.am @@ -1,25 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if BUILD_MANUAL -SUBDIRS=dist -endif - -EXTRA_DIST = \ - account.xml \ - ack.xml \ - addrbook.xml \ - advanced.xml \ - faq.xml \ - glossary.xml \ - gpl.xml \ - handling.xml \ - intro.xml \ - keyboard.xml \ - plugins.xml \ - starting.xml \ - claws-mail-manual.xml - -.PHONY: test diff --git a/manual/pl/dist/Makefile.am b/manual/pl/dist/Makefile.am @@ -1,8 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -SUBDIRS=html pdf ps txt - -.PHONY: test diff --git a/manual/pl/dist/html/Makefile.am b/manual/pl/dist/html/Makefile.am @@ -1,35 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_HTML -EXTRA_DIST=claws-mail-manual.html -manualde_DATA=claws-mail-manual.html -manualdedir=$(manualdir)/pl - -claws-mail-manual.html: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -SP_ENCODING=xml $(DOCBOOK2HTML) -u -o . \ - $(srcdir)/../../claws-mail-manual.xml - -mv -f claws-mail-manual.html claws-mail-manual.html.raw - -$(SED) 's,^><META,><META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"><META,' < claws-mail-manual.html.raw > claws-mail-manual.html - -maintainer-clean: - -rm claws-mail-manual.html - -rm claws-mail-manual.html.raw -endif - -.PHONY: test diff --git a/manual/pl/dist/pdf/Makefile.am b/manual/pl/dist/pdf/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PDF -EXTRA_DIST=claws-mail-manual.pdf -manualde_DATA=claws-mail-manual.pdf -manualdedir=$(manualdir)/pl - -claws-mail-manual.pdf: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PDF) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.pdf claws-mail-manual.fo claws-mail-manual.xsl -endif - -.PHONY: test diff --git a/manual/pl/dist/ps/Makefile.am b/manual/pl/dist/ps/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_PS -EXTRA_DIST=claws-mail-manual.ps -manualde_DATA=claws-mail-manual.ps -manualdedir=$(manualdir)/pl - -claws-mail-manual.ps: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2PS) -o . "$(srcdir)/../../claws-mail-manual.xml" - -maintainer-clean: - -rm claws-mail-manual.ps -endif - -.PHONY: test diff --git a/manual/pl/dist/txt/Makefile.am b/manual/pl/dist/txt/Makefile.am @@ -1,31 +0,0 @@ -# Copyright 1999-2014 the Claws Mail team. -# This file is part of Claws Mail package, and distributed under the -# terms of the General Public License version 3 (or later). -# See COPYING file for license details. - -if MANUAL_TXT -EXTRA_DIST=claws-mail-manual.txt -manualde_DATA=claws-mail-manual.txt -manualdedir=$(manualdir)/pl - -claws-mail-manual.txt: \ - ../../account.xml \ - ../../ack.xml \ - ../../addrbook.xml \ - ../../advanced.xml \ - ../../faq.xml \ - ../../glossary.xml \ - ../../gpl.xml \ - ../../handling.xml \ - ../../intro.xml \ - ../../keyboard.xml \ - ../../plugins.xml \ - ../../starting.xml \ - ../../claws-mail-manual.xml - -$(DOCBOOK2TXT) -o . $(srcdir)/../../claws-mail-manual.xml - -maintainer-clean: - -rm claws-mail-manual.txt -endif - -.PHONY: test