File: Do-not-install-test-and-demonstration-executables.patch

package info (click to toggle)
casacore 3.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,836 kB
  • sloc: cpp: 466,901; fortran: 16,372; ansic: 7,412; yacc: 4,714; lex: 2,346; sh: 1,839; python: 629; perl: 531; sed: 499; csh: 34; makefile: 32
file content (32 lines) | stat: -rw-r--r-- 1,350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From: Benda Xu <heroxbd@gentoo.org>
Date: Fri, 24 Oct 2014 18:26:54 +0900
Subject: Do not install test and demonstration executables

casacore_{assay,floatcheck} are removed and only used with scons.
measuresdata.csh and ms2uvfits should be included in casacore-doc as examples.
change measuresdata.csh shebang to /usr/bin/tcsh as in Debian.
---
 measures/apps/CMakeLists.txt | 2 +-
 msfits/apps/CMakeLists.txt   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/measures/apps/CMakeLists.txt b/measures/apps/CMakeLists.txt
index b40506d..1141cfa 100644
--- a/measures/apps/CMakeLists.txt
+++ b/measures/apps/CMakeLists.txt
@@ -8,4 +8,4 @@ endforeach(prog findmeastable)
 add_executable (measuresdata  measuresdata/measuresdata.cc)
 target_link_libraries (measuresdata casa_measures ${CASACORE_ARCH_LIBS})
 install(TARGETS measuresdata)
-install(PROGRAMS measuresdata/measuresdata-update TYPE BIN)
+install(PROGRAMS TYPE BIN)
diff --git a/msfits/apps/CMakeLists.txt b/msfits/apps/CMakeLists.txt
index 0d9bd90..af6185d 100644
--- a/msfits/apps/CMakeLists.txt
+++ b/msfits/apps/CMakeLists.txt
@@ -2,5 +2,4 @@ foreach(prog ms2uvfits)
     add_executable (${prog}  ${prog}.cc)
     add_pch_support(${prog})
     target_link_libraries (${prog} casa_msfits ${CASACORE_ARCH_LIBS})
-    install(TARGETS ${prog})
 endforeach(prog ms2uvfits)