summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-03-17 17:02:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-03-17 17:02:47 +0000
commit7a8910783006421a981c594f812f353065f37528 (patch)
treee7b49bd5270f2312b542b9f5791fe2461a4dad4e /Makefile
parentfcce2dc29374d1cf3aaeea291bfeec168a09c33b (diff)
downloadrsyslog-7a8910783006421a981c594f812f353065f37528.tar.gz
rsyslog-7a8910783006421a981c594f812f353065f37528.tar.xz
rsyslog-7a8910783006421a981c594f812f353065f37528.zip
improving man files & install
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index e6e42f3b..ac2b1247 100644
--- a/Makefile
+++ b/Makefile
@@ -57,8 +57,7 @@ all: syslogd
test: syslog_tst ksym oops_test tsyslogd
-#install: install_man install_exec
-install: install_exec
+install: install_man install_exec
syslogd: syslogd.o pidfile.o template.o stringbuf.o srUtils.o
${CC} ${LDFLAGS} -o syslogd syslogd.o pidfile.o template.o stringbuf.o srUtils.o ${LIBS}
@@ -93,16 +92,9 @@ clean:
clobber: clean
rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd tklogd
-install-replace: syslogd
- ${INSTALL} -b -m 500 -s syslogd ${DESTDIR}${BINDIR}/syslogd
-
install_exec: syslogd
- cp ${DESTDIR}${BINDIR}/syslogd ${DESTDIR}${BINDIR}/syslogd-previous
- ${INSTALL} -b -m 500 -s syslogd ${DESTDIR}${BINDIR}/syslogd
-
-# man not yet supported ;)
-#install_man:
-# ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 sysklogd.8 ${MANDIR}/man8/sysklogd.8
-# ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 syslogd.8 ${MANDIR}/man8/syslogd.8
-# ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
-# ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 klogd.8 ${MANDIR}/man8/klogd.8
+ ${INSTALL} -b -m 500 -s syslogd ${DESTDIR}${BINDIR}/rsyslogd
+
+install_man:
+ ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 rsyslogd.8 ${MANDIR}/man8/rsyslogd.8
+ ${INSTALL} -o ${MAN_OWNER} -g ${MAN_OWNER} -m 644 rsyslog.conf.5 ${MANDIR}/man5/rsyslog.conf.5