diff INSTALL.md @ 307:363024b76da7

make: create install-data rather than fakeroot
author David Demelier <markand@malikania.fr>
date Tue, 29 Jun 2021 09:49:48 +0200
parents 3675021fa6e5
children 8523fb0c8540
line wrap: on
line diff
--- a/INSTALL.md	Mon Jun 28 21:08:11 2021 +0200
+++ b/INSTALL.md	Tue Jun 29 09:49:48 2021 +0200
@@ -41,9 +41,14 @@
 directory, when building those are not already discoverable because targets are
 not already installed.
 
-It's still possible to build a fakeroot directory to run examples and
-`mlk-adventure` without installing. To do this you simply need to use `fakeroot`
-target.
+You need to install at least the data once using `install-data` target, you can
+do this without root access by using a temporary directory and set the
+`MLK_ROOT` environment variable.
+
+	$ make DESTDIR=datadir install
+	$ MLK_ROOT=datadir ./mlk-adventure/mlk-adventure
+	(or to run examples)
+	$ MLK_ROOT=datadir ./examples/
 
 Note: you need rsync installed, in contrast to `install` with a `DESTDIR`
       macro it only copies runtime data and avoid re-copying what didn't