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/lua | |
| parent | 30a62acef45fb1652d0992dcbf30e473cea6bf74 (diff) | |
| download | manaserv-9860dacbb6526138ae8edf57adc42ddc3e6073fa.tar.gz 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/lua')
| -rw-r--r-- | scripts/lua/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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/) |
