summaryrefslogtreecommitdiff
path: root/plugins/ruby/CMakeLists.txt
diff options
context:
space:
mode:
authorjj2012-09-30 17:08:03 +0200
committerjj2012-09-30 17:08:03 +0200
commit4de245d6911cf0e53c01d89aed3a18b285ce2168 (patch)
tree07a588db34cf883891daee701c213e66eb0cf2a1 /plugins/ruby/CMakeLists.txt
parent47e04863eb1bd04c1914afb2e354d65088e81e7c (diff)
downloaddfhack-4de245d6911cf0e53c01d89aed3a18b285ce2168.tar.gz
dfhack-4de245d6911cf0e53c01d89aed3a18b285ce2168.tar.bz2
dfhack-4de245d6911cf0e53c01d89aed3a18b285ce2168.tar.xz
ruby: install generated autogen after copying *.rb
Diffstat (limited to 'plugins/ruby/CMakeLists.txt')
-rw-r--r--plugins/ruby/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ruby/CMakeLists.txt b/plugins/ruby/CMakeLists.txt
index b8c90d13..9d821f94 100644
--- a/plugins/ruby/CMakeLists.txt
+++ b/plugins/ruby/CMakeLists.txt
@@ -34,8 +34,8 @@ ADD_DEPENDENCIES(ruby ruby-autogen-rb)
INSTALL(FILES ${RUBYLIB} DESTINATION ${DFHACK_LIBRARY_DESTINATION})
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ruby-autogen.rb DESTINATION hack/ruby)
-
INSTALL(DIRECTORY .
DESTINATION hack/ruby
FILES_MATCHING PATTERN "*.rb")
+
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ruby-autogen.rb DESTINATION hack/ruby)