From 9ea2a1d06757e727430ef65f71b39d595ba2128f Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 9 Dec 2016 14:02:32 +0100 Subject: INSTALL: document how to configure a build for installation in a local dir Signed-off-by: Antonio Ospite Signed-off-by: Takashi Iwai --- INSTALL | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'INSTALL') 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. -- cgit v1.2.1