From 1599eb904fe60d0eb3d5e50be4d8973e7cb12874 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 13 Nov 2019 17:26:46 +0100 Subject: [PATCH] Travis-CI: Use DESTDIR instead of --prefix to work-around systemd Signed-off-by: Joachim Nilsson --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 69d1fb5..3e4cca4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,19 +23,19 @@ addons: name: "troglobit/sysklogd" description: "RFC5424 compliant syslog daemon and syslog()/syslogp() API for Linux" notification_email: troglobit@gmail.com - build_command_prepend: "./autogen.sh && ./configure" + build_command_prepend: "./autogen.sh && ./configure --with-klogd" build_command: "make" branch_pattern: dev # Build test programs as regular user, or clang build may fail script: - ./autogen.sh - - ./configure --prefix=/tmp/sysklogd --disable-silent-rules + - ./configure --prefix= --disable-silent-rules - make clean - make all - make -C test programs - sudo make check || (which clang; cat test/test-suite.log; cat test/start.log; cat test/api.log; false) - - make install-strip + - make install-strip DESTDIR=/tmp/sysklogd - mkdir -p /tmp/example; cp -a example/example.* /tmp/example/ - (cd /tmp/example; PKG_CONFIG_LIBDIR=/tmp/sysklogd/lib/pkgconfig make -f example.mk) - tree /tmp/sysklogd