[med-svn] [gatb-core] 02/04: Fix install locations, do not install unwanted files

Andreas Tille tille at debian.org
Wed Dec 13 22:08:12 UTC 2017


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

tille pushed a commit to branch master
in repository gatb-core.

commit fecfc49a9bcd467cf0b26cb4328546677c6cce28
Author: Andreas Tille <tille at debian.org>
Date:   Wed Dec 13 21:46:09 2017 +0100

    Fix install locations, do not install unwanted files
---
 debian/patches/fix_install_location.patch | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/patches/fix_install_location.patch b/debian/patches/fix_install_location.patch
index 00d03b9..be97a68 100644
--- a/debian/patches/fix_install_location.patch
+++ b/debian/patches/fix_install_location.patch
@@ -4,7 +4,7 @@ Description: Install examples into correct dir
 
 --- a/gatb-core/CMakeLists.txt
 +++ b/gatb-core/CMakeLists.txt
-@@ -284,7 +284,7 @@ IF (EXISTS "${PROJECT_SOURCE_DIR}/exampl
+@@ -284,16 +284,16 @@ IF (EXISTS "${PROJECT_SOURCE_DIR}/exampl
      ENDIF()
  ENDIF()
  # add example snippets into binary archive (use by CPack directive)
@@ -13,3 +13,15 @@ Description: Install examples into correct dir
  
  ################################################################################
  #  INSTALL 
+ ################################################################################
+ 
+ IF (NOT DEFINED GATB_CORE_INSTALL_EXCLUDE)
+-    INSTALL (FILES ${PROJECT_SOURCE_DIR}/doc/misc/README.txt  DESTINATION . OPTIONAL)
+-    INSTALL (FILES ${PROJECT_SOURCE_DIR}/LICENCE              DESTINATION . OPTIONAL)
+-    INSTALL (FILES ${PROJECT_SOURCE_DIR}/THIRDPARTIES.md      DESTINATION . OPTIONAL)
++    INSTALL (FILES ${PROJECT_SOURCE_DIR}/doc/misc/README.txt  "share/doc/gatb-core" . OPTIONAL)
++#    INSTALL (FILES ${PROJECT_SOURCE_DIR}/LICENCE              DESTINATION . OPTIONAL)
++#    INSTALL (FILES ${PROJECT_SOURCE_DIR}/THIRDPARTIES.md      DESTINATION . OPTIONAL)
+ #    INSTALL (DIRECTORY ${PROJECT_SOURCE_DIR}/thirdparty/boost DESTINATION ./include)
+ ENDIF()
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gatb-core.git



More information about the debian-med-commit mailing list