about summary refs log tree commit diff
path: root/INSTALL
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-02 12:03:09 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-02 12:03:09 +0000
commite6c306eb07afdbf28228ea5538bff149ed24a7ce (patch)
tree9db23d5e4c56d3c298d1c66a13d671fe35886a91 /INSTALL
parent24cfd4f0a739ebc409cfa5bd6992de91ad99f62a (diff)
downloads6-portable-utils-e6c306eb07afdbf28228ea5538bff149ed24a7ce.tar.gz
s6-portable-utils-e6c306eb07afdbf28228ea5538bff149ed24a7ce.tar.xz
s6-portable-utils-e6c306eb07afdbf28228ea5538bff149ed24a7ce.zip
Better documentation for --enable-slashpackage
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL18
1 files changed, 16 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 0c188a9..3acd9eb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -95,8 +95,22 @@ absolute pathnames. skarnet.org packages support it: use the
 --enable-slashpackage=DIR for a prefixed DIR/package tree.
 This option will activate slashpackage support during the build
 and set slashpackage-compatible installation directories.
-Other options setting individual installation directories will be
-ignored.
+If $package_home is the home of the package, defined as
+DIR/package/$category/$package-$version with the variables
+read from the package/info file, then:
+
+  --dynlibdir is set to $package_home/library.so
+  --bindir is set to $package_home/command
+  --sbindir is also set to $package_home/command (slashpackage
+differentiates root-only binaries by their Unix rights, not their
+location in the filesystem)
+  --libexecdir is also set to $package_home/command (slashpackage
+does not need a specific directory for internal binaries)
+  --libdir is set to $package_home/library
+  --includedir is set to $package_home/include
+
+ --prefix is pretty much ignored when you use --enable-slashpackage.
+You should probably not use both --enable-slashpackage and --prefix.
 
  When using slashpackage, two additional Makefile targets are
 available after "make install":