]> git.alsa-project.org Git - alsa-utils.git/commitdiff
INSTALL: document how to configure a build for installation in a local dir
authorAntonio Ospite <ao2@ao2.it>
Fri, 9 Dec 2016 13:02:32 +0000 (14:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Dec 2016 16:28:15 +0000 (17:28 +0100)
Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
INSTALL

diff --git a/INSTALL b/INSTALL
index 544d5d2295c82b5a1b792c7ad2f711de4728e701..d95bb97b2bc382705bebd4c8f93b67008297bf43 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -42,5 +42,12 @@ For compilation you can use these commands:
 
 The included gitcompile script does this job for you.
 
+To configure the build to install in a local directory, a command like the
+following can be used:
+
+       ./gitcompile --prefix="$PWD/build" \
+         --with-systemdsystemunitdir="$PWD/build/$(pkg-config systemd --variable=systemdsystemunitdir)" \
+         --with-udev-rules-dir="$PWD/build/$(pkg-config udev --variable=udevdir)"
+
 Note: Some automake packages have missing aclocal program. Use newer version
       in the case.