libbsd: Branch 'master' - 3 commits

Guillem Jover guillem at kemper.freedesktop.org
Thu May 31 23:32:49 PDT 2012


 src/Makefile.am |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit c21d788fea18ddb8f6eb309c73783df5ccd6bf53
Author: Guillem Jover <guillem at hadrons.org>
Date:   Fri Jun 1 08:20:37 2012 +0200

    Release libbsd 0.4.1

diff --git a/src/Makefile.am b/src/Makefile.am
index 24f1248..4c57136 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,7 +37,7 @@ libbsd_la_DEPENDENCIES = \
 	libbsd.map
 libbsd_la_LDFLAGS = \
 	-Wl,--version-script=$(srcdir)/libbsd.map \
-	-version-number 0:4:0
+	-version-number 0:4:1
 libbsd_la_SOURCES = \
 	arc4random.c \
 	bsd_getopt.c \
commit fdcae5770799b232d50bf311d69c375f730a1ed3
Author: Guillem Jover <guillem at hadrons.org>
Date:   Fri Jun 1 08:17:42 2012 +0200

    build: Set runtimelibdir to libdir
    
    This makes sure the install-exec-hook under src works as expected even
    when no runtimelibdir was specified, otherwise the symlinks end up
    pointing to non-existing targets.
    
    Reported-by: Ryan Mullen <rmmullen at gmail.com>

diff --git a/src/Makefile.am b/src/Makefile.am
index 22bfd1f..24f1248 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -73,6 +73,8 @@ libbsd_la_SOURCES = \
 	vis.c \
 	$(nil)
 
+runtimelibdir = $(libdir)
+
 install-exec-hook:
 	if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
 		$(MKDIR_P) $(DESTDIR)$(runtimelibdir); \
commit e9e4a60d7e18c103be6df33cbbeaf249578a1ac5
Author: Guillem Jover <guillem at hadrons.org>
Date:   Fri Jun 1 08:15:00 2012 +0200

    build: Use MKDIR_P variable instead of literal «mkdir -p»

diff --git a/src/Makefile.am b/src/Makefile.am
index ec56b93..22bfd1f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -75,7 +75,7 @@ libbsd_la_SOURCES = \
 
 install-exec-hook:
 	if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
-		mkdir -p $(DESTDIR)$(runtimelibdir); \
+		$(MKDIR_P) $(DESTDIR)$(runtimelibdir); \
 		mv $(DESTDIR)$(libdir)/libbsd*.so.* \
 		   $(DESTDIR)$(runtimelibdir)/; \
 		soname=`readlink $(DESTDIR)$(libdir)/libbsd.so`; \


More information about the libbsd mailing list