From 9860dacbb6526138ae8edf57adc42ddc3e6073fa Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Tue, 15 Jan 2013 10:24:22 +0100 Subject: Made the scripts being able to install The game server will now look for the scripts in this order: - serverPath - config value - current working directory - the PKG_DATADIR #define --- scripts/CMakeLists.txt | 1 + scripts/lua/CMakeLists.txt | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 scripts/CMakeLists.txt create mode 100644 scripts/lua/CMakeLists.txt (limited to 'scripts') diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt new file mode 100644 index 0000000..b0e653e --- /dev/null +++ b/scripts/CMakeLists.txt @@ -0,0 +1 @@ +ADD_SUBDIRECTORY(lua) diff --git a/scripts/lua/CMakeLists.txt b/scripts/lua/CMakeLists.txt new file mode 100644 index 0000000..ba58be5 --- /dev/null +++ b/scripts/lua/CMakeLists.txt @@ -0,0 +1,7 @@ +SET (FILES + libmana-constants.lua + libmana.lua + npclib.lua + ) + +INSTALL(FILES ${FILES} DESTINATION ${PKG_DATADIR}/scripts/lua/) -- cgit