summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-02 12:05:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-02 12:05:10 +0000
commit6089f405f74aa38dd5e6eafbfb0bc593a57d16e3 (patch)
tree108df9b8a0b8274c86dc361f1b12146470a08602
parent9fe5982c86c31373cec631f1e5b926fd1103908d (diff)
downloads6-6089f405f74aa38dd5e6eafbfb0bc593a57d16e3.tar.xz
Better documentation for --enable-slashpackage
-rw-r--r--INSTALL18
1 files changed, 16 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index 3fd399b..17c672b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -115,8 +115,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":