[med-svn] [vista] 01/01: Installing only selected directories. No .o files.

Luis Ibanez luisibanez-guest at moszumanska.debian.org
Wed Jan 29 23:22:27 UTC 2014


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

luisibanez-guest pushed a commit to branch master
in repository vista.

commit fa4b7c9855043cb51a98f3c7f6ecba099991e706
Author: Luis Ibanez <luis.ibanez at kitware.com>
Date:   Wed Jan 29 18:21:53 2014 -0500

    Installing only selected directories. No .o files.
---
 debian/changelog | 1 +
 debian/rules     | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bc72a40..4505ecf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,5 +33,6 @@ vista-foia (0.20140106-1) UNRELEASED; urgency=low
   * In rules, remove code to compile .m files. Now moved to CMake itself.
   * In rules, added final installation rule. Targeting debuild expected dir.
   * Added CMake option to precompile all M routines, as part of build.
+  * In rules, only installing selected directories. Skipping .o files. 
 
  -- Luis Ibanez <luis.ibanez at kitware.com>  Wed, 4 Jul 2012 17:16:45 -0500
diff --git a/debian/rules b/debian/rules
index 6b28b3a..a028157 100755
--- a/debian/rules
+++ b/debian/rules
@@ -57,6 +57,7 @@ cmake $(VISTA_TESTING_SOURCE_DIR)   \
 -DVISTA_ROUTINE_DIR:PATH=$(VISTA_ROUTINES_DIR) \
 -DGTM_DIST:PATH=$(GTM_INSTALL_DIR) \
 -DGTM_SOURCE_DIR:STRING=$(VISTA_GTM_ROUTINES) \
+-DCMAKE_LIBRARY_OUTPUT_DIRECTORY:PATH=$(VISTA_LIBRARY_DIR) \
 -DTEST_VISTA:BOOL=ON \
 -DTEST_VISTA_SETUP:BOOL=ON \
 -DTEST_VISTA_FRESH:BOOL=ON \
@@ -79,7 +80,10 @@ cd $(VISTA_TESTING_BINARY_DIR) && make)
 
 override_dh_auto_install:
 	mkdir -p debian/$(BINPKG)/$(DESTINATION_DIR)
-	cp -r  $(LOCALINSTANCEDIR)/$(VISTA_INSTALL_DIR) debian/$(BINPKG)/$(DESTINATION_DIR)
+	cp -r  $(LOCALINSTANCEDIR)/$(VISTA_INSTALL_DIR)/r    debian/$(BINPKG)/$(DESTINATION_DIR)
+	cp -r  $(LOCALINSTANCEDIR)/$(VISTA_INSTALL_DIR)/g    debian/$(BINPKG)/$(DESTINATION_DIR)
+	cp -r  $(LOCALINSTANCEDIR)/$(VISTA_INSTALL_DIR)/lib  debian/$(BINPKG)/$(DESTINATION_DIR)
+	cp -r  $(LOCALINSTANCEDIR)/$(VISTA_INSTALL_DIR)/inet debian/$(BINPKG)/$(DESTINATION_DIR)
 
 
 get-orig-source:

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/vista.git



More information about the debian-med-commit mailing list