certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/scripts certi-config.in CMakeLists.txt


From: CERTI CVS commits
Subject: [certi-cvs] certi/scripts certi-config.in CMakeLists.txt
Date: Tue, 06 May 2014 09:12:55 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      14/05/06 09:12:55

Modified files:
        scripts        : certi-config.in CMakeLists.txt 

Log message:
        Better to install certi-config in bin dir.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/certi-config.in?cvsroot=certi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/certi/scripts/CMakeLists.txt?cvsroot=certi&r1=1.3&r2=1.4

Patches:
Index: certi-config.in
===================================================================
RCS file: /sources/certi/certi/scripts/certi-config.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- certi-config.in     6 May 2014 09:02:10 -0000       1.1
+++ certi-config.in     6 May 2014 09:12:55 -0000       1.2
@@ -3,7 +3,7 @@
 
 work_dir=`pwd`
 script_dir=`dirname $0`; cd ${script_dir}; script_dir=`pwd`
-prefix="${script_dir}/../.."; cd ${prefix}; prefix=`pwd`;
+prefix="${script_dir}/.."; cd ${prefix}; prefix=`pwd`;
 cd ${work_dir}
 
 usage()

Index: CMakeLists.txt
===================================================================
RCS file: /sources/certi/certi/scripts/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- CMakeLists.txt      6 May 2014 09:02:10 -0000       1.3
+++ CMakeLists.txt      6 May 2014 09:12:55 -0000       1.4
@@ -18,10 +18,15 @@
 install(FILES
   ${CMAKE_CURRENT_BINARY_DIR}/myCERTI_env.sh
   ${CMAKE_CURRENT_BINARY_DIR}/myCERTI_env.csh
-  ${CMAKE_CURRENT_BINARY_DIR}/certi-config
   PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_READ GROUP_EXECUTE 
WORLD_READ WORLD_EXECUTE
   DESTINATION share/scripts)
   
+# install certi-config in bin dir
+install(FILES
+  ${CMAKE_CURRENT_BINARY_DIR}/certi-config
+  PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_READ GROUP_EXECUTE 
WORLD_READ WORLD_EXECUTE
+  DESTINATION bin)
+
 install(FILES
   FindCERTI.cmake
   UseCERTI.cmake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]