diff options
author | Michael Biebl <biebl@debian.org> | 2010-10-05 17:28:41 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2010-10-05 17:28:41 +0200 |
commit | 7e2b1add5ffd1d726801b5f3806c7e26f493c3e9 (patch) | |
tree | f904f13dfdb0a339afd6f461c71315fd5ab63050 /Makefile.am | |
parent | 017fb92bd811ce1083504eafda4e2080d9520a31 (diff) | |
download | rsyslog-7e2b1add5ffd1d726801b5f3806c7e26f493c3e9.tar.gz |
Imported Upstream version 5.7.1upstream/5.7.1
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 29 |
1 files changed, 27 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index bc6d8dd..54b6815 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,6 +39,25 @@ lmgssutil_la_LDFLAGS = -module -avoid-version lmgssutil_la_LIBADD = $(GSS_LIBS) endif +# +# systemd support +# +if HAVE_SYSTEMD + +dist_systemdsystemunit_DATA = \ + rsyslog.socket + +nodist_systemdsystemunit_DATA = \ + rsyslog.service + +CLEANFILES = \ + rsyslog.service + +%.service: %.service.in + $(AM_V_GEN)sed -e 's,@sbindir\@,$(sbindir),g' $< > $@ + +endif + EXTRA_DIST = \ freebsd/rsyslogd \ slackware/rc.rsyslogd \ @@ -47,7 +66,8 @@ EXTRA_DIST = \ COPYING.LESSER \ contrib/gnutls/ca.pem \ contrib/gnutls/cert.pem \ - contrib/gnutls/key.pem + contrib/gnutls/key.pem \ + rsyslog.service.in SUBDIRS = doc runtime . plugins/immark plugins/imuxsock plugins/imtcp plugins/imudp plugins/omtesting @@ -127,6 +147,10 @@ if ENABLE_OMUXSOCK SUBDIRS += plugins/omuxsock endif +if ENABLE_OMHDFS +SUBDIRS += plugins/omhdfs +endif + if ENABLE_OMTEMPLATE SUBDIRS += plugins/omtemplate endif @@ -196,5 +220,6 @@ DISTCHECK_CONFIGURE_FLAGS= --enable-gssapi_krb5 \ --enable-shave \ --enable-extended-tests \ --enable-impstats \ - --enable-memcheck + --enable-memcheck \ + --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) ACLOCAL_AMFLAGS = -I m4 |