blob: 8f3ed3d270f8632b97ae10140166d27eafa70e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
cat <<EOF
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<appendix id="ap-ra-man-pages">
<title>Resource agent manual pages</title>
EOF
for manpage in $(printf "%s\n" "$@" | sort -f); do
cat <<EOF
<xi:include href="./$manpage" xmlns:xi="http://www.w3.org/2001/XInclude"/>
EOF
done
cat <<EOF
</appendix>
EOF
|