[osmium-tool] 05/13: Move manpages from 'doc' to 'man' directory.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Jul 21 20:15:45 UTC 2015


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

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

commit aedff73bbd99183794be1fea5a85fadc7672f9b0
Author: Jochen Topf <jochen at topf.org>
Date:   Tue Mar 31 09:31:18 2015 +0200

    Move manpages from 'doc' to 'man' directory.
---
 CMakeLists.txt                       | 4 ++--
 {doc => man}/manpage.template        | 0
 {doc => man}/osmium-apply-changes.md | 0
 {doc => man}/osmium-cat.md           | 0
 {doc => man}/osmium-file-formats.md  | 0
 {doc => man}/osmium-fileinfo.md      | 0
 {doc => man}/osmium-merge-changes.md | 0
 {doc => man}/osmium-time-filter.md   | 0
 {doc => man}/osmium.md               | 0
 9 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 98b6296..1cc181d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -78,7 +78,7 @@ find_program(PANDOC pandoc)
 function(add_man_page _section _name)
     file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/man/man${_section})
     set(_output_file ${CMAKE_BINARY_DIR}/man/man${_section}/${_name}.${_section})
-    set(_source_file ${CMAKE_SOURCE_DIR}/doc/${_name}.md)
+    set(_source_file ${CMAKE_SOURCE_DIR}/man/${_name}.md)
     set(_install_dir "share/man/man{$_section}")
     add_custom_command(OUTPUT ${_output_file}
         COMMAND ${PANDOC} ${PANDOC_MAN_OPTIONS} -o ${_output_file} ${_source_file}
@@ -94,7 +94,7 @@ if(PANDOC)
     message(STATUS "Looking for pandoc - found")
     message(STATUS "  Manual pages will be built")
     execute_process(COMMAND date "+%Y-%m-%d" OUTPUT_VARIABLE PUBDATE OUTPUT_STRIP_TRAILING_WHITESPACE)
-    set(PANDOC_MAN_OPTIONS -s -t man --template ${CMAKE_CURRENT_SOURCE_DIR}/doc/manpage.template --variable "description=osmium/${OSMIUM_VERSION}" --variable "date=${PUBDATE}")
+    set(PANDOC_MAN_OPTIONS -s -t man --template ${CMAKE_CURRENT_SOURCE_DIR}/man/manpage.template --variable "description=osmium/${OSMIUM_VERSION}" --variable "date=${PUBDATE}")
     set(PANDOC_HTML_OPTIONS -s -t html)
 
     add_man_page(1 osmium)
diff --git a/doc/manpage.template b/man/manpage.template
similarity index 100%
rename from doc/manpage.template
rename to man/manpage.template
diff --git a/doc/osmium-apply-changes.md b/man/osmium-apply-changes.md
similarity index 100%
rename from doc/osmium-apply-changes.md
rename to man/osmium-apply-changes.md
diff --git a/doc/osmium-cat.md b/man/osmium-cat.md
similarity index 100%
rename from doc/osmium-cat.md
rename to man/osmium-cat.md
diff --git a/doc/osmium-file-formats.md b/man/osmium-file-formats.md
similarity index 100%
rename from doc/osmium-file-formats.md
rename to man/osmium-file-formats.md
diff --git a/doc/osmium-fileinfo.md b/man/osmium-fileinfo.md
similarity index 100%
rename from doc/osmium-fileinfo.md
rename to man/osmium-fileinfo.md
diff --git a/doc/osmium-merge-changes.md b/man/osmium-merge-changes.md
similarity index 100%
rename from doc/osmium-merge-changes.md
rename to man/osmium-merge-changes.md
diff --git a/doc/osmium-time-filter.md b/man/osmium-time-filter.md
similarity index 100%
rename from doc/osmium-time-filter.md
rename to man/osmium-time-filter.md
diff --git a/doc/osmium.md b/man/osmium.md
similarity index 100%
rename from doc/osmium.md
rename to man/osmium.md

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmium-tool.git



More information about the Pkg-grass-devel mailing list