Build manuals in parallel

This commit is contained in:
Jonathan Boeing 2021-11-29 18:51:32 -07:00
parent 48b2af2c11
commit 029cf7820a
48 changed files with 76 additions and 928 deletions

18
.gitignore vendored
View File

@ -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

View File

@ -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
])

View File

@ -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
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_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
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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article SYSTEM "dtd/sdocbook.dtd" [
<!DOCTYPE article SYSTEM "../dtd/sdocbook.dtd" [
<!ENTITY ch_intro SYSTEM "intro.xml">
<!ENTITY ch_starting SYSTEM "starting.xml">
<!ENTITY ch_handling SYSTEM "handling.xml">

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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