You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/09/01 15:03:50 UTC
[22/50] qpid-proton git commit: PROTON-876: Make the Python and Ruby
example files executable
PROTON-876: Make the Python and Ruby example files executable
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/7a381d29
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/7a381d29
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/7a381d29
Branch: refs/heads/go1
Commit: 7a381d2968183838439feb209f1ba2f11bc60ca5
Parents: 73aa2d7
Author: Justin Ross <jr...@apache.org>
Authored: Wed Aug 16 15:12:54 2017 -0700
Committer: Justin Ross <jr...@apache.org>
Committed: Wed Aug 16 15:12:54 2017 -0700
----------------------------------------------------------------------
CMakeLists.txt | 5 -----
examples/CMakeLists.txt | 17 +++++++++++++++++
2 files changed, 17 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7a381d29/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7fe25e3..e4a24fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,11 +186,6 @@ add_subdirectory(examples)
install (FILES LICENSE README.md
DESTINATION ${PROTON_SHARE})
-install (DIRECTORY examples
- DESTINATION ${PROTON_SHARE}
- REGEX "/examples/CMakeLists.txt$" EXCLUDE
- PATTERN "*Config.cmake" EXCLUDE)
-
# Generate test environment settings
configure_file(${CMAKE_SOURCE_DIR}/config.sh.in
${CMAKE_BINARY_DIR}/config.sh @ONLY)
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7a381d29/examples/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 160647d..45b3162 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -29,3 +29,20 @@ add_subdirectory(go)
if (BUILD_CPP)
add_subdirectory(cpp)
endif()
+
+install(DIRECTORY c cpp go javascript perl php
+ DESTINATION ${PROTON_SHARE}/examples)
+
+install(DIRECTORY python
+ DESTINATION ${PROTON_SHARE}/examples
+ PATTERN "*.py"
+ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
+ GROUP_EXECUTE GROUP_READ
+ WORLD_EXECUTE WORLD_READ)
+
+install(DIRECTORY ruby
+ DESTINATION ${PROTON_SHARE}/examples
+ PATTERN "*.rb"
+ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
+ GROUP_EXECUTE GROUP_READ
+ WORLD_EXECUTE WORLD_READ)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org