Tried to fix install directory problem on linux... Let's hope this doesn't blow it all.

This commit is contained in:
Perttu Ahola 2011-01-18 23:12:52 +02:00
parent 3ef2629e84
commit affa8f80ad

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