Add mods/mesetint/mods_here.txt to be installed on RUN_IN_PLACE builds

This commit is contained in:
Perttu Ahola 2012-03-20 01:19:47 +02:00
parent 50621ffe85
commit 2de91f11fb
3 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -13,6 +13,7 @@ cache/
textures/
sounds/
mods/
!mods/mesetint/mods_here.txt
worlds/
world/

View 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}")

View File

@ -0,0 +1 @@
You can install Minetest/MeseTint mods by copying (and extracting) them into this folder.