diff mbox

[alsa-utils,5/5] INSTALL: document how to configure a build for installation in a local dir

Message ID 20161209130232.19457-6-ao2@ao2.it (mailing list archive)
State Mainlined
Headers show

Commit Message

Antonio Ospite Dec. 9, 2016, 1:02 p.m. UTC
Signed-off-by: Antonio Ospite <ao2@ao2.it>
---
 INSTALL | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox

Patch

diff --git a/INSTALL b/INSTALL
index 544d5d2..d95bb97 100644
--- 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.