aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-10-07 02:14:49 +0000
committerDavid Robillard <d@drobilla.net>2015-10-07 02:14:49 +0000
commit82080ce3b2b50390c7599f68d94ccad5eaf9a54d (patch)
tree63b613d8214a951ea9db63a8f68e0a9ef25c6f01 /INSTALL
parentd220bb91039da4dcc45913bfcd860eef2135b073 (diff)
downloadserd-82080ce3b2b50390c7599f68d94ccad5eaf9a54d.tar.gz
serd-82080ce3b2b50390c7599f68d94ccad5eaf9a54d.tar.bz2
serd-82080ce3b2b50390c7599f68d94ccad5eaf9a54d.zip
Update INSTALL file
git-svn-id: http://svn.drobilla.net/serd/trunk@499 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL27
1 files changed, 17 insertions, 10 deletions
diff --git a/INSTALL b/INSTALL
index 623cddde..9b54f51e 100644
--- a/INSTALL
+++ b/INSTALL
@@ -8,11 +8,7 @@ Building this software requires only Python. To install with default options:
./waf configure
./waf
- ./waf install
-
-You may need to become root for the install stage, for example:
-
- sudo ./waf install
+ ./waf install # or sudo ./waf install
Configuration Options
---------------------
@@ -40,12 +36,20 @@ invoked:
* CPPFLAGS: C preprocessor options
* LINKFLAGS: Linker options
-Installation Directories
-------------------------
+Library Versioning
+------------------
+
+This library uses semantic versioning <http://semver.org/>.
+
+Several major versions can be installed in parallel. The shared library name,
+include directory, and pkg-config file are suffixed with the major version
+number. For example, a library named "foo" at version 1.x.y might install:
-The --prefix option (or the PREFIX environment variable) can be used to change
-the prefix which all files are installed under. There are also several options
-allowing for more fine-tuned control, see the --help output for details.
+ /usr/include/foo-1/foo/foo.h
+ /usr/lib/foo-1.so.1.x.y
+ /usr/lib/pkgconfig/foo-1.pc
+
+Dependencies can check for the package "foo-1" with pkg-config.
Packaging
---------
@@ -57,3 +61,6 @@ which adds a prefix to all install paths. For example:
./waf configure --prefix=/usr
./waf
./waf install --destdir=/tmp/package
+
+Packages should allow parallel installation of several major versions. For
+example, the above would be packaged as "foo-1". \ No newline at end of file