summaryrefslogtreecommitdiff
path: root/README.txt
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-01-06 21:46:00 +0100
committerPerttu Ahola <celeron55@gmail.com>2015-02-10 16:20:33 +0200
commitda8199799db9981e6e34f34efa0abb9db16e5f0a (patch)
tree5d5906bc60099dc40e0565fa97277877ea7c98e2 /README.txt
parent368496b612931323b589abc1cb07fdc4c8c02a6c (diff)
downloadminetest-da8199799db9981e6e34f34efa0abb9db16e5f0a.tar.gz
minetest-da8199799db9981e6e34f34efa0abb9db16e5f0a.tar.bz2
minetest-da8199799db9981e6e34f34efa0abb9db16e5f0a.zip
README.txt: Simplify initial build steps by using git to fetch sources
Also simplify wget steps and apt-get install zlib1g-dev libjsoncpp-dev
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt30
1 files changed, 22 insertions, 8 deletions
diff --git a/README.txt b/README.txt
index 0999bd165..774dc6639 100644
--- a/README.txt
+++ b/README.txt
@@ -103,18 +103,32 @@ Compiling on GNU/Linux:
-----------------------
Install dependencies. Here's an example for Debian/Ubuntu:
-$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev
+$ apt-get install build-essential libirrlicht-dev cmake libbz2-dev libpng12-dev libjpeg8-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libjsoncpp-dev
-Download source, extract (this is the URL to the latest of source repository, which might not work at all times):
-$ wget https://github.com/minetest/minetest/tarball/master -O master.tar.gz
+You can install git for easily keeping your copy up to date.
+If you dont want git, read below on how to get the source without git.
+This is an example for installing git on Debian/Ubuntu:
+$ apt-get install git-core
+
+Download source (this is the URL to the latest of source repository, which might not work at all times) using git:
+$ git clone --depth 1 https://github.com/minetest/minetest.git
+$ cd minetest
+
+Download minetest_game (otherwise only the "Minimal development test" game is available) using git:
+$ cd games/
+$ git clone --depth 1 https://github.com/minetest/minetest_game.git
+$ cd ..
+
+Download source, without using git:
+$ wget https://github.com/minetest/minetest/archive/master.tar.gz
$ tar xf master.tar.gz
-$ cd minetest-minetest-286edd4 (or similar)
+$ cd minetest-master
-Download minetest_game (otherwise only the "Minimal development test" game is available)
+Download minetest_game, without using git:
$ cd games/
-$ wget https://github.com/minetest/minetest_game/tarball/master -O minetest_game.tar.gz
-$ tar xf minetest_game.tar.gz
-$ mv minetest-minetest_game-* minetest_game
+$ wget https://github.com/minetest/minetest_game/archive/master.tar.gz
+$ tar xf master.tar.gz
+$ mv minetest_game-master minetest_game
$ cd ..
Build a version that runs directly from the source directory: