1 withIncludesResolved
="`tempfile`"
2 sourceFile
="sources.xml"
3 tempFiles
="$sourceFile $withIncludesResolved"
5 xmllint
--xinclude --output $withIncludesResolved --schema pottery.xsd pottery.xml ||
exit 1
7 xsltproc
-o pottery.docbook pottery2docbook.xsl
$withIncludesResolved ||
exit 2
9 xmllint
--xinclude --noout --schema docbook.xsd pottery.docbook ||
exit 3
11 echo '<?xml version="1.0" encoding="UTF-8"?>' > $sourceFile
12 echo '<sources xmlns="tag:fenglich.fastmail.fm,2007:Pottery">' >> $sourceFile
20 for source in $sources; do
21 # Yes, the last hash outputted is the latest one.
22 echo "<source href=\"$source\" \
23 gitSHA1=\"`git log --pretty=format:'%h" date="%cd"' $source | tail -n1` \
26 echo '</sources
>' >> $sourceFile
29 xsltproc ../../../src/docbook-xsl-1.73.2/xhtml/chunk.xsl ../pottery.docbook || exit 4
33 # vim: et:ts=4:sw=4:sts=4