BuildingOnLinux.wiki
changeset 263 afcb38bfd761
parent 253 d7db074d6efa
child 265 b0f68d7fe64e
--- a/BuildingOnLinux.wiki	Sun Oct 21 18:59:18 2012 +0000
+++ b/BuildingOnLinux.wiki	Sat Oct 27 14:42:08 2012 +0000
@@ -26,7 +26,7 @@
 = Building process =
 
 {{{
-mkdir -p ~/games ~/hg/hedgewars/build
+mkdir -p ~/games ~/hg/hedgewars/
 cd ~/hg/hedgewars
 hg clone -v https://hedgewars.googlecode.com/hg/ trunk
 }}}
@@ -34,8 +34,8 @@
 The initial clone of the repository will take a while, is about 575MiB or so...
 
 {{{
-cd ~/hg/hedgewars/build
-cmake ../trunk -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
+cd trunk
+cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
 make install
 }}}
 if you want to build the server as well, change -DNOSERVER=1 to -DNOSERVER=0
@@ -51,8 +51,8 @@
 == Build Updates ===
 
 {{{
-cd ~/hg/hedgewars/build
-hg -R ../trunk pull -u
-cmake ../trunk -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
+cd ~/hg/hedgewars/trunk
+hg pull -u
+cmake .
 make install
 }}}
\ No newline at end of file