diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-03-13 03:42:04 -0400 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2007-03-13 03:42:04 -0400 |
commit | 8b42a4928a0a266c3b3ae6bb13997764bc7f6405 (patch) | |
tree | b1b1f06fdd18da4475c0dd773df364be3a0c9be0 /doc/tools/update-from-spec | |
parent | 4595ab3d4953d6257a6fedfe5b294df67ff3581f (diff) |
add the last bits of spec framework
The spec is the introspection format extended with
docs. There are tools to build docbook and strip
the docs to make dbus introspect xml.
Diffstat (limited to 'doc/tools/update-from-spec')
-rwxr-xr-x | doc/tools/update-from-spec | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/tools/update-from-spec b/doc/tools/update-from-spec new file mode 100755 index 0000000..b20e875 --- /dev/null +++ b/doc/tools/update-from-spec @@ -0,0 +1,25 @@ +#!/bin/sh + +DIST_BIN=`dirname "$0"` + +cd ${DIST_BIN} +cd ../xml +../tools/spec-to-docbook ../spec/*.xml +if [ $? -ne 0 ]; then + exit 1 +fi + +cd ../../src +../doc/tools/spec-strip-docs ../doc/spec/*.xml +if [ $? -ne 0 ]; then + exit 1 +fi + +for name in session seat manager; do + mv ck-${name}-no-docs.xml ck-${name}.xml + if [ $? -ne 0 ]; then + exit 1 + fi +done + +exit 0 |