From 2173430766a563e9546b58f69510cc6fa9e8cc09 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Jun 2012 09:17:52 -0400 Subject: [PATCH 1/4] WIP: Install configure.gtc as executable 'configure' --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f10e4f1..3b2e292 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -377,7 +377,6 @@ foreach(f arch.gtc gtcm_run.gtc gtcm_slist.gtc - configure.gtc gdedefaults.gtc gtmbase.gtc gtmcshrc.gtc @@ -403,6 +402,13 @@ set(GTM_TOP "${CMAKE_INSTALL_PREFIX}") configure_file(sr_unix/gpgagent.tab.in CMakeFiles/plugin/gpgagent.tab @ONLY) install(FILES ${GTM_BINARY_DIR}/CMakeFiles/plugin/gpgagent.tab DESTINATION plugin) +install(FILES sr_unix/configure.gtc DESTINATION . + PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE + GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE + RENAME configure + ) + add_custom_target(place_files ALL DEPENDS ${files_to_place}) # Would install to: From 89f4532a742062b9e24802dff305487682b15556 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Jun 2012 09:59:48 -0400 Subject: [PATCH 2/4] WIP: Install more files --- CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b2e292..948a2dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -409,6 +409,15 @@ install(FILES sr_unix/configure.gtc DESTINATION . RENAME configure ) +install(FILES sr_unix/lowerc_cp.sh DESTINATION . + PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE + GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE + RENAME lowerc_cp + ) + +install(FILES COPYING DESTINATION .) + add_custom_target(place_files ALL DEPENDS ${files_to_place}) # Would install to: From b3378c77eacdbce1b58c9d112a377cb3ab73f354 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Jun 2012 10:12:57 -0400 Subject: [PATCH 3/4] WIP: Install more headers and routines --- CMakeLists.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 948a2dd..0b838e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -289,6 +289,9 @@ install(TARGETS gtmsecshr_real DESTINATION gtmsecshrdir) # .m -> .m #file(GLOB m_files_port RELATIVE ${GTM_SOURCE_DIR}/sr_port ${GTM_SOURCE_DIR}/sr_port/*.m) set(m_files_port + chk2lev.m + chkop.m + gde.m gdeadd.m gdechang.m gdedelet.m @@ -297,7 +300,6 @@ set(m_files_port gdeinit.m gdelocks.m gdelog.m - gde.m gdemap.m gdemsgin.m gdeparse.m @@ -310,7 +312,11 @@ set(m_files_port gdetempl.m gendash.m genout.m - v5cbsu.m + loadop.m + loadvx.m + msg.m + tttgen.m + tttscan.m ) foreach(m ${m_files_port}) @@ -367,12 +373,14 @@ endforeach() set(files) foreach(f + gtm_descript.h + gtm_limits.h + gtm_sizeof.h gtm_stdio.h - gtmxc_types.h gtm_stdlib.h gtm_string.h gtm_strings.h - gtm_limits.h + gtmxc_types.h main_pragma.h arch.gtc gtcm_run.gtc From 1d01691ebc2e01761b81247a4f59de1f6a95397d Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 14 Jun 2012 10:13:07 -0400 Subject: [PATCH 4/4] WIP: Install gtminstall script --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b838e2..23d387d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -417,6 +417,13 @@ install(FILES sr_unix/configure.gtc DESTINATION . RENAME configure ) +install(FILES sr_unix/gtminstall.sh DESTINATION . + PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE + GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE + RENAME gtminstall + ) + install(FILES sr_unix/lowerc_cp.sh DESTINATION . PERMISSIONS OWNER_READ OWNER_EXECUTE OWNER_WRITE GROUP_READ GROUP_EXECUTE