[flann] 39/54: Fix doc build

Leopold Palomo-Avellaneda leo at alaxarxa.net
Fri Jul 15 10:42:43 UTC 2016


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

lepalom-guest pushed a commit to branch master
in repository flann.

commit 2641abc9d5e027e5c0e77cc29e29cf56581a2048
Author: Mathieu Malaterre <malat at debian.org>
Date:   Wed Dec 21 18:04:13 2011 +0000

    Fix doc build
---
 debian/changelog                      |  6 ++++++
 debian/patches/removedocinstall.patch | 17 +++++++++++++++++
 debian/patches/series                 |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fc6b661..5f97a92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+flann (1.7.0-3) UNRELEASED; urgency=low
+
+  * Remove cmake install rule for manual.pdf
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Wed, 21 Dec 2011 19:03:26 +0100
+
 flann (1.7.0-2) unstable; urgency=low
 
   * Remove TBB for non-intel arch
diff --git a/debian/patches/removedocinstall.patch b/debian/patches/removedocinstall.patch
new file mode 100644
index 0000000..fd9d469
--- /dev/null
+++ b/debian/patches/removedocinstall.patch
@@ -0,0 +1,17 @@
+Description: Do not try to install manual.pdf if it is not build
+
+Index: flann-1.7.0/doc/CMakeLists.txt
+===================================================================
+--- flann-1.7.0.orig/doc/CMakeLists.txt	2011-12-21 19:02:37.000000000 +0100
++++ flann-1.7.0/doc/CMakeLists.txt	2011-12-21 19:02:42.000000000 +0100
+@@ -13,9 +13,9 @@
+         COMMAND ${CMAKE_COMMAND} -E copy
+         ARGS ${CMAKE_CURRENT_BINARY_DIR}/manual.pdf ${CMAKE_CURRENT_SOURCE_DIR}/manual.pdf
+     )
+-endif()
+ 
+ install(
+     FILES manual.pdf
+     DESTINATION share/doc/flann
+ )
++endif()
diff --git a/debian/patches/series b/debian/patches/series
index f3ba908..6c8e4e8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 remove_tests.patch
 remove_lib64.patch
+removedocinstall.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/flann.git



More information about the debian-science-commits mailing list