Include source state info in documentation build.
--- a/Makefile Sun Jan 15 14:59:08 2012 +0200
+++ b/Makefile Sun Jan 15 19:40:15 2012 +0200
@@ -280,9 +280,19 @@
VERSION.rst: VERSION $(BUILD_SCRIPT)
{ \
- echo 'Version: '$(vmajor).$(vminor); \
+ echo 'For ``$(pkgname)`` version: ``$(vmajor).$(vminor)``.'; \
+ echo; \
+ case ${visclean} in \
+ yes) echo 'Source files are at revision: ``$(vrev)``.';; \
+ no) echo 'Some source files was modified from revision: ``$(vrev)``.';; \
+ esac; \
echo; \
- echo 'Date: '`date +%F`; \
+ case ${vatrelease} in \
+ yes) echo 'Package is at release state.';; \
+ no) echo 'Package is far from release state by $(vtagdist) changes.';; \
+ esac; \
+ echo; \
+ echo 'Build date: ``'$$(date +%F)'``.'; \
} >$@
################################################################