Skip to content

Commit

Permalink
[build] fix make distcheck to include kronostned/libtap coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Oct 21, 2016
1 parent de956fe commit 905cb80
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile.am
Expand Up @@ -15,6 +15,8 @@ include $(top_srcdir)/build-aux/check.mk

AUTOMAKE_OPTIONS = foreign

AM_DISTCHECK_CONFIGURE_FLAGS = --enable-kronosnetd

ACLOCAL_AMFLAGS = -I m4

SPEC = $(PACKAGE_NAME).spec
Expand Down
7 changes: 6 additions & 1 deletion configure.ac
Expand Up @@ -32,6 +32,8 @@ AC_PROG_LIBTOOL

AC_LANG([C])

systemddir=${prefix}/lib/systemd/system

if test "$prefix" = "NONE"; then
prefix="/usr"
if test "$localstatedir" = "\${prefix}/var"; then
Expand All @@ -40,6 +42,9 @@ if test "$prefix" = "NONE"; then
if test "$sysconfdir" = "\${prefix}/etc"; then
sysconfdir="/etc"
fi
if test "$systemddir" = "NONE/lib/systemd/system"; then
systemddir=/lib/systemd/system
fi
if test "$libdir" = "\${exec_prefix}/lib"; then
if test -e /usr/lib64; then
libdir="/usr/lib64"
Expand Down Expand Up @@ -220,7 +225,7 @@ AC_ARG_WITH([initddir],
AC_ARG_WITH([systemddir],
[ --with-systemddir=DIR : path to systemd unit files directory. ],
[ SYSTEMDDIR="$withval" ],
[ SYSTEMDDIR="/lib/systemd/system" ])
[ SYSTEMDDIR="$systemddir" ])

AC_ARG_WITH([syslogfacility],
[ --with-syslogfacility=FACILITY
Expand Down
2 changes: 1 addition & 1 deletion kronosnetd/Makefile.am
Expand Up @@ -10,7 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in kronostnetd.logrotate

include $(top_srcdir)/build-aux/check.mk

EXTRA_DIST = kronosnetd.logrotate.in
EXTRA_DIST = kronosnetd.logrotate.in kronosnetd.8 knet-keygen.8

noinst_HEADERS = \
cfg.h \
Expand Down

0 comments on commit 905cb80

Please sign in to comment.