Add version info into documentation.
--- a/.hgignore Thu Jan 12 23:24:56 2012 +0200
+++ b/.hgignore Thu Jan 12 23:32:52 2012 +0200
@@ -1,6 +1,6 @@
syntax: glob
-VERSION
+VERSION*
*.dict
*.dict.dz
*.index
--- a/HACKING.rst Thu Jan 12 23:24:56 2012 +0200
+++ b/HACKING.rst Thu Jan 12 23:32:52 2012 +0200
@@ -5,6 +5,11 @@
=======================
.. contents::
+Document version.
+=================
+
+.. include:: VERSION.rst
+
Comment syntax convention.
==========================
--- a/LICENSE.rst Thu Jan 12 23:24:56 2012 +0200
+++ b/LICENSE.rst Thu Jan 12 23:32:52 2012 +0200
@@ -1,2 +1,17 @@
+
+================
+ jdone LICENSE.
+================
+.. contents::
+
+Document version.
+=================
+
+.. include:: VERSION.rst
+
+License statement.
+==================
+
You can use any **gadict** dictionaries for any purpose without any
restriction.
+
--- a/Makefile Thu Jan 12 23:24:56 2012 +0200
+++ b/Makefile Thu Jan 12 23:32:52 2012 +0200
@@ -184,9 +184,16 @@
.PHONY: html
html: $(HTML_FILES)
-$(HTML_FILES): %.html: %.rst
+$(HTML_FILES): %.html: %.rst rst.css VERSION.rst $(BUILD_SCRIPT)
$(RST2HTML) $(RST2HTML_FLAGS) --stylesheet=rst.css $*.rst $@
+VERSION.rst: VERSION $(BUILD_SCRIPT)
+ { \
+ echo 'Version: '$(vmajor).$(vminor); \
+ echo; \
+ echo 'Date: '`date +%F`; \
+ } >$@
+
################################################################
# Helpers targets.
--- a/README.rst Thu Jan 12 23:24:56 2012 +0200
+++ b/README.rst Thu Jan 12 23:32:52 2012 +0200
@@ -5,6 +5,11 @@
==========================
.. contents::
+Document version.
+=================
+
+.. include:: VERSION.rst
+
About.
======