Add mods/mesetint/mods_here.txt to be installed on RUN_IN_PLACE builds
authorPerttu Ahola <celeron55@gmail.com>
Mon, 19 Mar 2012 23:19:47 +0000 (01:19 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 19 Mar 2012 23:19:47 +0000 (01:19 +0200)
.gitignore
CMakeLists.txt
mods/mesetint/mods_here.txt [new file with mode: 0644]

index c386b77be89edb81f88c975e999821aeef5c2f59..e5c5c9d7b6f03f79da040a4e0880ab13b08f603b 100644 (file)
@@ -13,6 +13,7 @@ cache/
 textures/
 sounds/
 mods/
+!mods/mesetint/mods_here.txt
 worlds/
 world/
 
index c6f878823113a8f817501030bebf9905861358fe..b8a5b4c75d45b7cf2fcf3fe8f7eaf7550d6da494 100644 (file)
@@ -90,6 +90,9 @@ if(BUILD_CLIENT)
        #install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/sounds/base/pack" DESTINATION "${SHAREDIR}/sounds/base")
        install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/textures/base/pack" DESTINATION "${SHAREDIR}/textures/base")
 endif()
+if(RUN_IN_PLACE)
+       install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/mods/mesetint/mods_here.txt" DESTINATION "${SHAREDIR}/mods/mesetint")
+endif()
 
 install(FILES "README.txt" DESTINATION "${DOCDIR}")
 install(FILES "minetest.conf.example" DESTINATION "${EXAMPLE_CONF_DIR}")
diff --git a/mods/mesetint/mods_here.txt b/mods/mesetint/mods_here.txt
new file mode 100644 (file)
index 0000000..63042b4
--- /dev/null
@@ -0,0 +1 @@
+You can install Minetest/MeseTint mods by copying (and extracting) them into this folder.