summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-01 07:18:46 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-01 07:18:46 +0000
commit2c2f1022b0d4bed360f41f67a9fb9edf8fe91c2f (patch)
treefa2b48f3dae5099fed403a56e103f207994814b9 /Makefile.am
parentca77f716a3f0acefecee24a4283b351f0832151d (diff)
downloadrsyslog-2c2f1022b0d4bed360f41f67a9fb9edf8fe91c2f.tar.gz
rsyslog-2c2f1022b0d4bed360f41f67a9fb9edf8fe91c2f.tar.xz
rsyslog-2c2f1022b0d4bed360f41f67a9fb9edf8fe91c2f.zip
- bugfix: rsyslogd was no longer build by default; man pages are only
installed if corresponding option is selected. Thanks to Michael Biebl for pointing these problems out.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 99f542fb..eb0497a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,6 @@
#sbin_PROGRAMS = rfc3195d rsyslogd
sbin_PROGRAMS =
+man_MANS =
if ENABLE_RSYSLOGD
sbin_PROGRAMS += rsyslogd
@@ -94,6 +95,9 @@ rsyslogd_SOURCES = \
rsyslogd_CPPFLAGS = -D_PATH_MODDIR=\"$(pkglibdir)/\" $(pthreads_cflags)
rsyslogd_LDADD = $(zlib_libs) $(pthreads_libs) $(dl_libs) $(rt_libs)
rsyslogd_LDFLAGS = -export-dynamic
+
+man_MANS += rsyslogd.8 rsyslog.conf.5
+
endif # if ENABLE_RSYSLOGD
# now come the library plugins
@@ -103,6 +107,7 @@ if ENABLE_RFC3195
# this does so far not work - a manual build is needed
sbin_PROGRAMS += rfc3195d
rfc3195d_SOURCES = rfc3195d.c rsyslog.h
+man_MANS += rfc3195d.8
endif
@@ -173,8 +178,6 @@ lmrelputil_la_LDFLAGS = -module -avoid-version
lmrelputil_la_LIBADD = $(relp_libs)
endif
-man_MANS = rfc3195d.8 rsyslogd.8 rsyslog.conf.5
-
EXTRA_DIST = \
redhat/rsyslog.conf \
redhat/rsyslog.init \