diff options
author | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-01-15 10:24:22 +0100 |
---|---|---|
committer | Erik Schilling <ablu.erikschilling@googlemail.com> | 2013-02-24 20:38:57 +0100 |
commit | 9860dacbb6526138ae8edf57adc42ddc3e6073fa (patch) | |
tree | 342c63b7cf515644be7e1a005813c75c0bc1bca6 /scripts | |
parent | 30a62acef45fb1652d0992dcbf30e473cea6bf74 (diff) | |
download | manaserv-9860dacbb6526138ae8edf57adc42ddc3e6073fa.tar.gz manaserv-9860dacbb6526138ae8edf57adc42ddc3e6073fa.tar.bz2 manaserv-9860dacbb6526138ae8edf57adc42ddc3e6073fa.tar.xz manaserv-9860dacbb6526138ae8edf57adc42ddc3e6073fa.zip |
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
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/CMakeLists.txt | 1 | ||||
-rw-r--r-- | scripts/lua/CMakeLists.txt | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt new file mode 100644 index 00000000..b0e653ec --- /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 00000000..ba58be51 --- /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/) |