From 5af5a0ee1b543f720f16d869e4584f5577b8ca49 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 5 Nov 2007 00:49:05 +0000 Subject: 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 --- configure.ac | 9 +++++---- doc/reference.doxygen.in | 2 +- src/Makefile.am | 1 + 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 \ -- cgit v1.2.1