diff options
author | Dan Williams <dcbw@redhat.com> | 2012-08-06 22:04:06 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-08-06 22:04:06 -0500 |
commit | aab6de97bbabaa7eb15aec8e7d1b6e5d7ceba501 (patch) | |
tree | f8e0659074dcb4fb8d32dd2ba09537a2adf0f49d | |
parent | 5deecdb871f02e081836f024ca9ff38236707ca7 (diff) | |
download | NetworkManager-aab6de97bbabaa7eb15aec8e7d1b6e5d7ceba501.tar.gz |
docs: auto-version documentation and fix up copyright and authorship
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | docs/api/network-manager-docs.xml | 21 | ||||
-rw-r--r-- | docs/libnm-glib/Makefile.am | 4 | ||||
-rw-r--r-- | docs/libnm-glib/libnm-glib-docs.xml | 28 | ||||
-rw-r--r-- | docs/libnm-glib/version.xml.in | 1 | ||||
-rw-r--r-- | docs/libnm-util/Makefile.am | 4 | ||||
-rw-r--r-- | docs/libnm-util/libnm-util-docs.sgml | 30 | ||||
-rw-r--r-- | docs/libnm-util/version.xml.in | 1 |
8 files changed, 46 insertions, 45 deletions
diff --git a/configure.ac b/configure.ac index 87089c60a5..5ce8d5ce28 100644 --- a/configure.ac +++ b/configure.ac @@ -828,7 +828,9 @@ docs/Makefile docs/api/Makefile docs/api/version.xml docs/libnm-glib/Makefile +docs/libnm-glib/version.xml docs/libnm-util/Makefile +docs/libnm-util/version.xml NetworkManager.pc examples/Makefile examples/shell/Makefile diff --git a/docs/api/network-manager-docs.xml b/docs/api/network-manager-docs.xml index 724700ca0f..fadc886288 100644 --- a/docs/api/network-manager-docs.xml +++ b/docs/api/network-manager-docs.xml @@ -7,20 +7,9 @@ <bookinfo> <title>NetworkManager D-Bus Reference Manual</title> <releaseinfo>Version &version;</releaseinfo> - <authorgroup> - <author> - <firstname>Dan</firstname> - <surname>Williams</surname> - <affiliation> - <address> - <email>dcbw@redhat.com</email> - </address> - </affiliation> - </author> - </authorgroup> <copyright> - <year>2011</year> + <year>2012</year> <holder>The NetworkManager Authors</holder> </copyright> @@ -44,14 +33,6 @@ <country>USA</country> </address> </para> - - <para> - Many of the names used by companies to distinguish their - products and services are claimed as trademarks. Where those - names appear in any GNOME documentation, and those trademarks - are made aware to the members of the GNOME Documentation - Project, the names have been printed in caps or initial caps. - </para> </legalnotice> </bookinfo> diff --git a/docs/libnm-glib/Makefile.am b/docs/libnm-glib/Makefile.am index 23edb25b32..a2a7d7768e 100644 --- a/docs/libnm-glib/Makefile.am +++ b/docs/libnm-glib/Makefile.am @@ -61,7 +61,7 @@ IGNORE_HFILES= \ HTML_IMAGES = libnm-glib.png # Extra XML files that are included by $(DOC_MAIN_SGML_FILE). -content_files = +content_files = version.xml # Other files to distribute. extra_files = libnm-glib.png @@ -84,6 +84,8 @@ GTKDOC_LIBS = \ # include common portion ... include $(top_srcdir)/gtk-doc.make +EXTRA_DIST += version.xml.in + CLEANFILES += \ libnm-glib-sections.txt \ html/* \ diff --git a/docs/libnm-glib/libnm-glib-docs.xml b/docs/libnm-glib/libnm-glib-docs.xml index 14d34315e8..1b989cb67c 100644 --- a/docs/libnm-glib/libnm-glib-docs.xml +++ b/docs/libnm-glib/libnm-glib-docs.xml @@ -1,28 +1,20 @@ <?xml version="1.0"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" - "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ + <!ENTITY version SYSTEM "version.xml"> +]> + <book id="index" xmlns:xi="http://www.w3.org/2003/XInclude"> <bookinfo> <title>libnm-glib Reference Manual</title> <releaseinfo> - for libnm-glib 0.9 + for libnm-glib &version; The latest version of this documentation can be found on-line at <ulink role="online-location" url="http://projects.gnome.org/NetworkManager/developers/libnm-glib/09/">http://projects.gnome.org/NetworkManager/developers/libnm-glib/09/</ulink>. </releaseinfo> - <authorgroup> - <author> - <firstname>Dan</firstname> - <surname>Williams</surname> - <affiliation> - <address> - <email>dcbw@redhat.com</email> - </address> - </affiliation> - </author> - </authorgroup> <copyright> - <year>2011</year> + <year>2012</year> <holder>The NetworkManager Authors</holder> </copyright> @@ -46,14 +38,6 @@ <country>USA</country> </address> </para> - - <para> - Many of the names used by companies to distinguish their - products and services are claimed as trademarks. Where those - names appear in any GNOME documentation, and those trademarks - are made aware to the members of the GNOME Documentation - Project, the names have been printed in caps or initial caps. - </para> </legalnotice> </bookinfo> diff --git a/docs/libnm-glib/version.xml.in b/docs/libnm-glib/version.xml.in new file mode 100644 index 0000000000..d78bda9342 --- /dev/null +++ b/docs/libnm-glib/version.xml.in @@ -0,0 +1 @@ +@VERSION@ diff --git a/docs/libnm-util/Makefile.am b/docs/libnm-util/Makefile.am index 89462664d4..be1bdeebce 100644 --- a/docs/libnm-util/Makefile.am +++ b/docs/libnm-util/Makefile.am @@ -39,7 +39,7 @@ IGNORE_HFILES= \ HTML_IMAGES = # Extra XML files that are included by $(DOC_MAIN_SGML_FILE). -content_files = +content_files = version.xml # Other files to distribute. extra_files = @@ -62,6 +62,8 @@ GTKDOC_LIBS = \ # include common portion ... include $(top_srcdir)/gtk-doc.make +EXTRA_DIST += version.xml.in + CLEANFILES += \ libnm-util-sections.txt \ html/* \ diff --git a/docs/libnm-util/libnm-util-docs.sgml b/docs/libnm-util/libnm-util-docs.sgml index fcddaceb92..66b402c30a 100644 --- a/docs/libnm-util/libnm-util-docs.sgml +++ b/docs/libnm-util/libnm-util-docs.sgml @@ -3,15 +3,43 @@ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'"> + <!ENTITY version SYSTEM "version.xml"> ]> <book id="index"> <bookinfo> <title>libnm-util Reference Manual</title> <releaseinfo> - for libnm-util 0.9 + for libnm-util &version; The latest version of this documentation can be found on-line at <ulink role="online-location" url="http://projects.gnome.org/NetworkManager/developers/libnm-util/09/">http://projects.gnome.org/NetworkManager/developers/libnm-util/09/</ulink>. </releaseinfo> + + <copyright> + <year>2012</year> + <holder>The NetworkManager Authors</holder> + </copyright> + + <legalnotice> + <para> + Permission is granted to copy, distribute and/or modify this + document under the terms of the <citetitle>GNU Free + Documentation License</citetitle>, Version 1.1 or any later + version published by the Free Software Foundation with no + Invariant Sections, no Front-Cover Texts, and no Back-Cover + Texts. You may obtain a copy of the <citetitle>GNU Free + Documentation License</citetitle> from the Free Software + Foundation by visiting <ulink type="http" + url="http://www.fsf.org">their Web site</ulink> or by writing + to: + + <address> + The Free Software Foundation, Inc., + <street>51 Franklin Street</street> - Fifth Floor, + <city>Boston</city>, <state>MA</state> <postcode>02110-1301</postcode>, + <country>USA</country> + </address> + </para> + </legalnotice> </bookinfo> <chapter> diff --git a/docs/libnm-util/version.xml.in b/docs/libnm-util/version.xml.in new file mode 100644 index 0000000000..d78bda9342 --- /dev/null +++ b/docs/libnm-util/version.xml.in @@ -0,0 +1 @@ +@VERSION@ |