forked from GPSBabel/gpsbabel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add jing for fedora builds. (GPSBabel#942)
* add jing for fedora builds. fedora f35 and on don't have a maintainer and thus the package isn't available. kludge in jing on f35. * improve document validation. * don't force jeng on f35
- Loading branch information
Showing
6 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
set -ex | ||
|
||
perl xmldoc/makedoc | ||
xmllint --noout --relaxng http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng xmldoc/readme.xml | ||
# the following doesn't seem to work. | ||
#xmllint --noout --schematron http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch xmldoc/readme.xml | ||
# jing and many depedencies removed from fedora | ||
if command -v jing >/dev/null 2>&1; then | ||
jing http://docs.oasis-open.org/docbook/xml/5.0/rng/docbook.rng xmldoc/readme.xml | ||
# can seed a failure by removing version="5.0" from xmldoc/readme.xml | ||
jing http://docs.oasis-open.org/docbook/xml/5.0/sch/docbook.sch xmldoc/readme.xml | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/bin/sh | ||
set -ex | ||
|
||
web=$1 | ||
docversion=$2 | ||
web=${1:-gpsbabel.org} | ||
docversion=${2:-x.y.z} | ||
tooldir=$(cd "$(dirname "$0")" && pwd) | ||
|
||
mkdir -p "${web}/htmldoc-${docversion}" | ||
perl xmldoc/makedoc | ||
jing http://docs.oasis-open.org/docbook/rng/5.0/docbook.rng xmldoc/readme.xml | ||
"$tooldir"/make_gpsbabel_doc.sh | ||
xsltproc \ | ||
--stringparam base.dir "${web}/htmldoc-${docversion}/" \ | ||
--stringparam root.filename "index" \ | ||
xmldoc/babelmain.xsl \ | ||
xmldoc/readme.xml | ||
tools/fixdoc "${web}/htmldoc-${docversion}" "GPSBabel ${docversion}:" | ||
tools/mkcapabilities "${web}" "${web}/htmldoc-${docversion}" | ||
"${tooldir}"/fixdoc "${web}/htmldoc-${docversion}" "GPSBabel ${docversion}:" | ||
"${tooldir}"/mkcapabilities "${web}" "${web}/htmldoc-${docversion}" | ||
cp gpsbabel.pdf "${web}/htmldoc-${docversion}/gpsbabel-${docversion}.pdf" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
#!/bin/sh | ||
set -ex | ||
|
||
perl xmldoc/makedoc | ||
jing http://docs.oasis-open.org/docbook/rng/5.0/docbook.rng xmldoc/readme.xml | ||
tooldir=$(cd "$(dirname "$0")" && pwd) | ||
|
||
"$tooldir"/make_gpsbabel_doc.sh | ||
xsltproc -o gpsbabel.fo xmldoc/babelpdf.xsl xmldoc/readme.xml | ||
HOME=. fop -q -fo gpsbabel.fo -pdf gpsbabel.pdf |