File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ ensure-deliverables: rabbit-vsn
34
34
file ${RELEASE_DIR} /${NAME_VSN} .msm
35
35
36
36
ensure-prerequisites : rabbit-vsn
37
- [ -f " /etc/debian_version" ] && dpkg -L htmldoc plotutils transfig graphviz docbook-utils || true > /dev/null
37
+ [ -f " /etc/debian_version" ] && dpkg -L htmldoc plotutils transfig graphviz docbook-utils xmlstarlet || true > /dev/null
38
38
39
39
ensure-release-dir : rabbit-vsn
40
40
touch ${RELEASE_DIR} /
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ NAMESPACES=$(cd $HTMLPATH; ls namespace-*.html | sed -e 's/namespace-\(.*\)\.htm
8
8
FILES=" ./api-title-page.html $HTMLPATH /index.html"
9
9
for n in $NAMESPACES
10
10
do
11
- FILES=" $FILES $HTMLPATH /namespace-$n .html $( cd $XMLPATH ; cat namespace-$n .xml | grep ' <type name ' | sed -e ' s:.*name="\([^"] *\)".* :' $HTMLPATH ' /type-\1.html:' ) "
11
+ FILES=" $FILES $HTMLPATH /namespace-$n .html $( cd $XMLPATH ; xmlstarlet sel -t -v " / namespace/typedoc/type/@name " namespace -$n .xml | sed -e ' s:^\(. *\)$ :' $HTMLPATH ' /type-\1.html:' ) "
12
12
done
13
13
14
14
htmldoc -t pdf --bodyfont serif --book --fontsize 9.0 --color $FILES > api-guide.pdf
You can’t perform that action at this time.
0 commit comments