Tried to fix install directory problem on linux... Let's hope this doesn't blow it...
authorPerttu Ahola <celeron55@gmail.com>
Tue, 18 Jan 2011 21:12:52 +0000 (23:12 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 18 Jan 2011 21:12:52 +0000 (23:12 +0200)
CMakeLists.txt

index dc9d98b368cbd19b95e08e2311582b81b47b3fee..0dc4728d57e3b78553ca7157fbd26f70cd97393e 100644 (file)
@@ -46,13 +46,14 @@ if(WIN32)
        set(BINDIR "bin")
        set(DOCDIR "doc")
 elseif(APPLE)
+       # random placeholders
        set(DATADIR "share/minetest")
        set(BINDIR "bin")
        set(DOCDIR "share/doc/minetest")
 elseif(UNIX)
-       set(DATADIR "share/minetest")
-       set(BINDIR "bin")
-       set(DOCDIR "share/doc/minetest")
+       set(DATADIR "/usr/share/minetest")
+       set(BINDIR "/usr/bin")
+       set(DOCDIR "/usr/share/doc/minetest")
 endif()
 
 install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")