removed /usr prefix from install paths
authorPerttu Ahola <celeron55@gmail.com>
Sat, 23 Apr 2011 21:30:41 +0000 (00:30 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sat, 23 Apr 2011 21:30:41 +0000 (00:30 +0300)
CMakeLists.txt

index e8126af9c43e5ff25f70295a70493b5321e6566c..6ba6678a8ab73b54f713651ba6842664f3b02daf 100644 (file)
@@ -53,10 +53,10 @@ elseif(APPLE)
        set(DOCDIR "share/doc/minetest")
        set(EXAMPLE_CONF_DIR ".")
 elseif(UNIX) # Linux, BSD etc
-       set(DATADIR "usr/share/minetest")
-       set(BINDIR "usr/bin")
-       set(DOCDIR "usr/share/doc/minetest")
-       set(EXAMPLE_CONF_DIR "usr/share/doc/minetest")
+       set(DATADIR "share/minetest")
+       set(BINDIR "bin")
+       set(DOCDIR "share/doc/minetest")
+       set(EXAMPLE_CONF_DIR "share/doc/minetest")
 endif()
 
 install(FILES "doc/README.txt" DESTINATION "${DOCDIR}")