From 2de91f11fb17a725d9a0ce6df5744b7bbbdb0f6a Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 20 Mar 2012 01:19:47 +0200 Subject: [PATCH] Add mods/mesetint/mods_here.txt to be installed on RUN_IN_PLACE builds --- .gitignore | 1 + CMakeLists.txt | 3 +++ mods/mesetint/mods_here.txt | 1 + 3 files changed, 5 insertions(+) create mode 100644 mods/mesetint/mods_here.txt diff --git a/.gitignore b/.gitignore index c386b77b..e5c5c9d7 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ cache/ textures/ sounds/ mods/ +!mods/mesetint/mods_here.txt worlds/ world/ diff --git a/CMakeLists.txt b/CMakeLists.txt index c6f87882..b8a5b4c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 index 00000000..63042b49 --- /dev/null +++ b/mods/mesetint/mods_here.txt @@ -0,0 +1 @@ +You can install Minetest/MeseTint mods by copying (and extracting) them into this folder. -- 2.30.2