From 105183376dec98cec57873228ccae79235f248dc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 23 Nov 2002 01:37:17 +0000 Subject: [PATCH] Add version info to API docs. --- ChangeLog | 2 ++ ChangeLog.pre-2-10 | 2 ++ ChangeLog.pre-2-12 | 2 ++ ChangeLog.pre-2-2 | 2 ++ ChangeLog.pre-2-4 | 2 ++ ChangeLog.pre-2-6 | 2 ++ ChangeLog.pre-2-8 | 2 ++ configure.in | 2 ++ docs/reference/ChangeLog | 15 +++++++++++++++ docs/reference/glib/Makefile.am | 8 +++++--- docs/reference/glib/glib-docs.sgml | 2 ++ docs/reference/glib/version.xml.in | 1 + docs/reference/gobject/Makefile.am | 4 ++-- docs/reference/gobject/gobject-docs.sgml | 2 ++ docs/reference/gobject/version.xml.in | 1 + 15 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 docs/reference/glib/version.xml.in create mode 100644 docs/reference/gobject/version.xml.in diff --git a/ChangeLog b/ChangeLog index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bdeb1f427..7ec1c5bb0 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,7 @@ 2002-11-23 Matthias Clasen + * configure.in: Generate docs/reference/*/version.xml. + * glib/gdir.h: Add Copyright notice. 2002-11-22 Sebastian Wilhelmi diff --git a/configure.in b/configure.in index 0ddebde18..b2dfc5c9d 100644 --- a/configure.in +++ b/configure.in @@ -2389,7 +2389,9 @@ po/Makefile.in docs/Makefile docs/reference/Makefile docs/reference/glib/Makefile +docs/reference/glib/version.xml docs/reference/gobject/Makefile +docs/reference/gobject/version.xml tests/Makefile m4macros/Makefile ]) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 4eaa98680..98694a68e 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,18 @@ +2002-11-23 Matthias Clasen + + * glib/Makefile.am (extra_files): + * gobject/Makefile.am (extra_files): Add version.xml.in. + + * glib/Makefile.am (content_files): + * gobject/Makefile.am (content_files): Add version.xml. + + * glib/version.xml.in: + * gobject/version.xml.in: New files to let configure dump the version in. + + * glib/glib-docs.sgml: + * gobject/gobject-docs.sgml: Add version information. + + Thu Nov 21 15:52:04 2002 Owen Taylor * glib/tmpl/iochannels.sgml: Add helpful comments about diff --git a/docs/reference/glib/Makefile.am b/docs/reference/glib/Makefile.am index 0178d62f8..3dda474c0 100644 --- a/docs/reference/glib/Makefile.am +++ b/docs/reference/glib/Makefile.am @@ -50,14 +50,16 @@ content_files = \ building.sgml \ changes-2.0.sgml \ compiling.sgml \ - resources.sgml - + resources.sgml \ + version.xml + # Other files to distribute extra_files = \ mainloop-states.fig \ mainloop-states.png \ - mainloop-states.eps + mainloop-states.eps \ + version.xml.in # CFLAGS and LDFLAGS for compiling scan program. Only needed # if $(DOC_MODULE).types is non-empty. diff --git a/docs/reference/glib/glib-docs.sgml b/docs/reference/glib/glib-docs.sgml index 5453710c2..5a3768142 100644 --- a/docs/reference/glib/glib-docs.sgml +++ b/docs/reference/glib/glib-docs.sgml @@ -60,10 +60,12 @@ + ]> GLib Reference Manual + for GLib &version; diff --git a/docs/reference/glib/version.xml.in b/docs/reference/glib/version.xml.in new file mode 100644 index 000000000..af9b9c467 --- /dev/null +++ b/docs/reference/glib/version.xml.in @@ -0,0 +1 @@ +@GLIB_VERSION@ diff --git a/docs/reference/gobject/Makefile.am b/docs/reference/gobject/Makefile.am index 70fe9431e..0792ae517 100644 --- a/docs/reference/gobject/Makefile.am +++ b/docs/reference/gobject/Makefile.am @@ -32,10 +32,10 @@ EXTRA_HFILES= HTML_IMAGES = # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE) -content_files = +content_files = version.xml # Other files to distribute -extra_files = +extra_files = version.xml.in # CFLAGS and LDFLAGS for compiling scan program. Only needed # if $(DOC_MODULE).types is non-empty. diff --git a/docs/reference/gobject/gobject-docs.sgml b/docs/reference/gobject/gobject-docs.sgml index 9dd4e019d..bb03b62dc 100644 --- a/docs/reference/gobject/gobject-docs.sgml +++ b/docs/reference/gobject/gobject-docs.sgml @@ -14,10 +14,12 @@ + ]> GObject Reference Manual + for GLib &version; diff --git a/docs/reference/gobject/version.xml.in b/docs/reference/gobject/version.xml.in new file mode 100644 index 000000000..af9b9c467 --- /dev/null +++ b/docs/reference/gobject/version.xml.in @@ -0,0 +1 @@ +@GLIB_VERSION@