From d1f64a6270d5b07be5e26d7a46c07ad27eb024c1 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Sun, 8 May 2011 15:05:31 +0200 Subject: [PATCH] Add version information to reference docs --- configure.ac | 1 + docs/Makefile.am | 4 ++-- docs/keybinder-docs.sgml | 1 + docs/version.info.in | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 docs/version.info.in diff --git a/configure.ac b/configure.ac index ac9bbe3..4dd0313 100644 --- a/configure.ac +++ b/configure.ac @@ -207,6 +207,7 @@ lua-keybinder/Makefile python-keybinder/__init__.py python-keybinder/Makefile docs/Makefile +docs/version.info ]) echo diff --git a/docs/Makefile.am b/docs/Makefile.am index 6387822..83e34a6 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -66,7 +66,7 @@ HTML_IMAGES= # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). # e.g. content_files=running.sgml building.sgml changes-2.0.sgml -content_files= +content_files= version.info # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded # These files must be listed here *and* in content_files @@ -86,7 +86,7 @@ include $(top_srcdir)/gtk-doc.make # Other files to distribute # e.g. EXTRA_DIST += version.xml.in -EXTRA_DIST += +EXTRA_DIST += version.info.in # Files not to distribute # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types diff --git a/docs/keybinder-docs.sgml b/docs/keybinder-docs.sgml index b686d33..88bbfca 100644 --- a/docs/keybinder-docs.sgml +++ b/docs/keybinder-docs.sgml @@ -12,6 +12,7 @@ The latest version of this documentation can be found on-line at http://[SERVER]/keybinder-3.0/. --> + diff --git a/docs/version.info.in b/docs/version.info.in new file mode 100644 index 0000000..fe00944 --- /dev/null +++ b/docs/version.info.in @@ -0,0 +1,2 @@ +Package: @PACKAGE@ +Version: @VERSION@