[osmium-tool] 05/07: Add patch to fix manpage installation.
Bas Couwenberg
sebastic at debian.org
Sat Aug 26 08:05:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository osmium-tool.
commit a5168add75f73e71b4c321b2cd6dcf20e68a8e8e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Aug 26 09:37:16 2017 +0200
Add patch to fix manpage installation.
---
debian/changelog | 1 +
debian/patches/manpages-install.patch | 14 ++++++++++++++
debian/patches/series | 1 +
3 files changed, 16 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ea28171..4e1e924 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ osmium-tool (1.7.1-1) UNRELEASED; urgency=medium
* New upstream release.
* Bump minimum required libosmium2-dev to 2.13.1.
+ * Add patch to fix manpage installation.
-- Bas Couwenberg <sebastic at debian.org> Sat, 26 Aug 2017 08:58:42 +0200
diff --git a/debian/patches/manpages-install.patch b/debian/patches/manpages-install.patch
new file mode 100644
index 0000000..766309f
--- /dev/null
+++ b/debian/patches/manpages-install.patch
@@ -0,0 +1,14 @@
+Description: Only install manpage directories, not CMake files.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/man/CMakeLists.txt
++++ b/man/CMakeLists.txt
+@@ -68,7 +68,7 @@ if(PANDOC)
+ add_man_page(5 osmium-file-formats)
+ add_man_page(5 osmium-index-types)
+
+- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DESTINATION share)
++ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1 ${CMAKE_CURRENT_BINARY_DIR}/man5 DESTINATION share/man)
+
+ add_custom_target(man ALL DEPENDS ${ALL_MAN_PAGES})
+ else()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5ef1e49
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+manpages-install.patch
--
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