This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to tag v1.1.0
in repository osmium-tool.

commit 4a6eea40f03206ae99fa35e2ae9cdf799c08abfa
Author: Jochen Topf <>
Date:   Fri Jul 3 13:34:13 2015 +0200

    Man page improvements.
    * Put program version instead of timestamp into man pages (helps with
      repeatable builds and shows the more interesting information).
    * Add info to CONTACT section, what to use contact for.
    * CMake config: Make man pages depend on template.
 CMakeLists.txt       | 5 ++---
 man/manpage.template | 3 ++-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 957d36a..77998e7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -92,7 +92,7 @@ function(add_man_page _section _name)
             --variable "section=${_section}"
             -o ${_output_file}
-        DEPENDS ${_source_file}
+        DEPENDS ${_source_file} man/manpage.template
         COMMENT "Building manpage ${_name}.${_section}"
@@ -103,13 +103,12 @@ endfunction()
     message(STATUS "Looking for pandoc - found")
     message(STATUS "  Manual pages will be built")
-    execute_process(COMMAND date "+%Y-%m-%d" OUTPUT_VARIABLE PUBDATE 
         -t man
         --template ${CMAKE_CURRENT_SOURCE_DIR}/man/manpage.template
         --variable "description=osmium/${OSMIUM_VERSION}"
-        --variable "date=${PUBDATE}"
+        --variable "version=${OSMIUM_VERSION}"
         --variable "author=${AUTHOR}"
     set(PANDOC_HTML_OPTIONS -s -t html)
diff --git a/man/manpage.template b/man/manpage.template
index a786f37..7a3bccc 100644
--- a/man/manpage.template
+++ b/man/manpage.template
@@ -1,7 +1,7 @@
-.TH "$title$" "$section$" "$date$" "$footer$" "$header$"
+.TH "$title$" "$section$" "$version$" "$footer$" "$header$"
@@ -22,6 +22,7 @@ This is free software: you are free to change and 
redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
+If you have any questions or want to report a bug, please go to
 $for(author)$$author$$sep$; $endfor$.

Alioth's /usr/local/bin/git-commit-notice on 

Pkg-grass-devel mailing list

Reply via email to