From 8acccf4c584b31ab08dc6ba0b95cb223c8ab4dad Mon Sep 17 00:00:00 2001
From: est31 <MTest31@outlook.com>
Date: Mon, 14 Sep 2015 07:44:12 +0200
Subject: [PATCH] Fix "make install" and add underscore to doc file name

Fix regression since commit:

915807f8db1f3721ad9ffc00a4863ad940010c45 "Rename doc/mapformat.txt and update doc to match SRP changes"

And add an underscore to doc file name to make it more readable.
---
 CMakeLists.txt                            | 2 +-
 doc/{worldformat.txt => world_format.txt} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename doc/{worldformat.txt => world_format.txt} (100%)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 15774d564..ea41d0d2f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -171,7 +171,7 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/fonts" DESTINATION "${SHAREDIR}")
 install(FILES "README.txt" DESTINATION "${DOCDIR}")
 install(FILES "doc/lua_api.txt" DESTINATION "${DOCDIR}")
 install(FILES "doc/menu_lua_api.txt" DESTINATION "${DOCDIR}")
-install(FILES "doc/mapformat.txt" DESTINATION "${DOCDIR}")
+install(FILES "doc/world_format.txt" DESTINATION "${DOCDIR}")
 install(FILES "minetest.conf.example" DESTINATION "${EXAMPLE_CONF_DIR}")
 
 if(UNIX AND NOT APPLE)
diff --git a/doc/worldformat.txt b/doc/world_format.txt
similarity index 100%
rename from doc/worldformat.txt
rename to doc/world_format.txt
-- 
GitLab