Revert use of build dir. Nice idea, but breaks pas2c and confused people. Esp people who had done this before. For most people, a purge is adequate if they need to clean up. Heck, that's what unc0rr and I apparently do, or we would have noticed the pas2c thing earlier
--- 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