While installing scripts, do not copy ~ files.

develop
Petr Mrázek 2012-07-12 02:24:32 +02:00
parent eae94693f7
commit 1c9194d1c4
2 changed files with 4 additions and 1 deletions

@ -330,7 +330,10 @@ install(DIRECTORY lua/
FILES_MATCHING PATTERN "*.lua")
install(DIRECTORY ${dfhack_SOURCE_DIR}/scripts
DESTINATION ${DFHACK_DATA_DESTINATION})
DESTINATION ${DFHACK_DATA_DESTINATION}
FILES_MATCHING PATTERN "*.lua"
PATTERN "*.rb"
)
# Unused for so long that it's not even relevant now...
if(BUILD_DEVEL)