summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-11-05 00:49:05 +0000
committerDavid Robillard <d@drobilla.net>2007-11-05 00:49:05 +0000
commit5af5a0ee1b543f720f16d869e4584f5577b8ca49 (patch)
treebb76f5059e3c3633412c2925003a55cd6441fc25
parentb78b93e23c684c6fe2fb58a11b2549c33bd3c9b6 (diff)
downloadlilv-5af5a0ee1b543f720f16d869e4584f5577b8ca49.tar.gz
lilv-5af5a0ee1b543f720f16d869e4584f5577b8ca49.tar.bz2
lilv-5af5a0ee1b543f720f16d869e4584f5577b8ca49.zip
Fix library versioning.
Fix full paths showing up in documentation. Closes ticket 112. git-svn-id: http://svn.drobilla.net/lad/slv2@903 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--configure.ac9
-rw-r--r--doc/reference.doxygen.in2
-rw-r--r--src/Makefile.am1
3 files changed, 7 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 164e50d..288c729 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,9 +16,9 @@ AC_PREREQ(2.59)
# current svn = 4,0,0
SLV2_VERSION="0.3.0"
-SLV2_API_CURRENT=4
-SLV2_API_REVISION=0
-SLV2_API_AGE=0
+SLV2_API_CURRENT="4"
+SLV2_API_REVISION="0"
+SLV2_API_AGE="0"
# SLV2 follows the even/odd minor = stable/development convention
AC_INIT([slv2],${SLV2_VERSION},[dave@drobilla.net])
@@ -32,8 +32,9 @@ AC_CONFIG_SRCDIR([swig/slv2.i])
AC_CONFIG_HEADER([config/config.h])
AM_INIT_AUTOMAKE
-SLV2_SO_VERSION=${SLV2_API_CURRENT}:${SLV2_API_REVISION}:${SLV2_API_AGE}
+SLV2_SO_VERSION="${SLV2_API_CURRENT}:${SLV2_API_REVISION}:${SLV2_API_AGE}"
AC_SUBST(SLV2_SO_VERSION)
+AC_SUBST(SLV2_VERSION)
# This is cute... autohell FTW
builddir=`pwd`
diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in
index c08f4a1..34fa7ca 100644
--- a/doc/reference.doxygen.in
+++ b/doc/reference.doxygen.in
@@ -104,7 +104,7 @@ INLINE_INHERITED_MEMB = NO
# path before files name in the file list and in the header files. If set
# to NO the shortest path that makes the file name unique will be used.
-FULL_PATH_NAMES = YES
+FULL_PATH_NAMES = NO
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
# can be used to strip a user-defined part of the path. Stripping is
diff --git a/src/Makefile.am b/src/Makefile.am
index 99b07b2..12418e2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,7 @@ AM_CFLAGS = -std=c99 @SLV2_CFLAGS@ @REDLAND_CFLAGS@ -DLIBSLV2_SOURCE
lib_LTLIBRARIES = libslv2.la
libslv2_la_LIBADD = @REDLAND_LIBS@
+libslv2_la_LDFLAGS = -version-info @SLV2_SO_VERSION@
libslv2_la_SOURCES = \
plugin.c \