summaryrefslogtreecommitdiff
path: root/codegen
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@usa.net>2002-07-10 17:03:36 +0000
committerMurray Cumming <murrayc@src.gnome.org>2002-07-10 17:03:36 +0000
commita80e5d5eddb7bd099f20f12fb5b4b2ca99a561d7 (patch)
tree6ae05a3ae14c291cf2135026713b37dec7b26ff5 /codegen
parent33d38d413621d40f9c254c341f85d9360d6d777f (diff)
downloadpygtk-a80e5d5eddb7bd099f20f12fb5b4b2ca99a561d7.tar.gz
Used jamesh's new extract_tmpl() function to get the sgml tmpl files. This
2002-07-10 Murray Cumming <murrayc@usa.net> * codegen/docextract_to_xml.py: Used jamesh's new extract_tmpl() function to get the sgml tmpl files. This file is only used by gtkmm at the moment, not pygtk itself.
Diffstat (limited to 'codegen')
-rwxr-xr-xcodegen/docextract_to_xml.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/codegen/docextract_to_xml.py b/codegen/docextract_to_xml.py
index 8121a00a..8ff8a80e 100755
--- a/codegen/docextract_to_xml.py
+++ b/codegen/docextract_to_xml.py
@@ -3,6 +3,8 @@
#
# This litte script outputs the C doc comments to an XML format.
# So far it's only used by gtkmm (The C++ bindings). Murray Cumming.
+# Usage example:
+# # ./docextract_to_xml.py -s /gnome/head/cvs/gtk+/gtk/ -s /gnome/head/cvs/gtk+/docs/reference/gtk/tmpl/ > gtk_docs.xml
import sys, os, string, re, getopt
@@ -41,6 +43,7 @@ if __name__ == '__main__':
sys.exit(1)
docs = docextract.extract(source_dirs);
+ docextract.extract_templ(source_dirs, docs); #Try the tmpl sgml files too.
# print d.docs