mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
doc: Fix Unicode issues with the manual
docbook2html generates HTML4 documents and can't handle utf-8 input. It is quite outdated. Switch to using stylesheets from docbook-xsl package instead. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> [sunil@medhas.org Remove intermediary file docbook.css] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
853c056018
commit
46b587196f
3
debian/control
vendored
3
debian/control
vendored
@ -14,7 +14,7 @@ Build-Depends:
|
|||||||
debhelper-compat (= 12),
|
debhelper-compat (= 12),
|
||||||
dblatex,
|
dblatex,
|
||||||
dh-python,
|
dh-python,
|
||||||
docbook-utils,
|
docbook-xsl,
|
||||||
e2fsprogs,
|
e2fsprogs,
|
||||||
gir1.2-nm-1.0,
|
gir1.2-nm-1.0,
|
||||||
libjs-bootstrap,
|
libjs-bootstrap,
|
||||||
@ -43,6 +43,7 @@ Build-Depends:
|
|||||||
python3-setuptools-git,
|
python3-setuptools-git,
|
||||||
python3-yaml,
|
python3-yaml,
|
||||||
xmlto,
|
xmlto,
|
||||||
|
xsltproc
|
||||||
Standards-Version: 4.4.1
|
Standards-Version: 4.4.1
|
||||||
Homepage: https://salsa.debian.org/freedombox-team/plinth
|
Homepage: https://salsa.debian.org/freedombox-team/plinth
|
||||||
Vcs-Git: https://salsa.debian.org/freedombox-team/plinth.git
|
Vcs-Git: https://salsa.debian.org/freedombox-team/plinth.git
|
||||||
|
|||||||
@ -77,7 +77,8 @@ freedombox-manual.xml: freedombox-manual.raw.xml fixes.xslt
|
|||||||
./post-processor fix-wiki-urls $@
|
./post-processor fix-wiki-urls $@
|
||||||
|
|
||||||
%.html: %.xml
|
%.html: %.xml
|
||||||
docbook2html --nochunks $<
|
xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml5/docbook.xsl $<
|
||||||
|
rm -f $(dir $@)docbook.css
|
||||||
|
|
||||||
%.1: %.xml
|
%.1: %.xml
|
||||||
xmlto man $<
|
xmlto man $<
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user