2008-12-15 01:41:43 +00:00
|
|
|
--- Makefile.orig 2008-12-15 02:35:56.000000000 +0100
|
|
|
|
+++ Makefile 2008-12-15 02:38:10.000000000 +0100
|
2008-10-25 01:39:51 +00:00
|
|
|
@@ -27,10 +27,10 @@ SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fo
|
|
|
|
LDFLAGS= -s
|
|
|
|
|
|
|
|
# Look where your install program is.
|
|
|
|
-INSTALL = /usr/bin/install
|
|
|
|
+INSTALL = install
|
|
|
|
|
|
|
|
# Destination paths, set prefix=/opt if required
|
|
|
|
-BINDIR = $(prefix)/usr/sbin
|
|
|
|
+BINDIR = $(prefix)/sbin
|
|
|
|
MANDIR = $(prefix)/usr/share/man
|
|
|
|
|
|
|
|
# There is one report that under an all ELF system there may be a need to
|
2008-10-25 02:06:07 +00:00
|
|
|
@@ -127,14 +127,17 @@ clobber: clean
|
|
|
|
rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd tklogd
|
|
|
|
|
|
|
|
install_exec: syslogd klogd
|
2008-12-15 01:41:43 +00:00
|
|
|
- ${INSTALL} -m 500 -s syslogd ${BINDIR}/syslogd
|
|
|
|
- ${INSTALL} -m 500 -s klogd ${BINDIR}/klogd
|
2008-10-25 02:06:07 +00:00
|
|
|
+ ${INSTALL} -d ${BINDIR}
|
2008-12-15 01:41:43 +00:00
|
|
|
+ ${INSTALL} -s syslogd ${BINDIR}/syslogd
|
|
|
|
+ ${INSTALL} -s klogd ${BINDIR}/klogd
|
2008-10-25 01:39:51 +00:00
|
|
|
|
|
|
|
install_man:
|
|
|
|
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8
|
|
|
|
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} syslogd.8 ${MANDIR}/man8/syslogd.8
|
|
|
|
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
|
|
|
|
- ${INSTALL} -o ${MAN_USER} -g ${MAN_GROUP} -m ${MAN_PERMS} klogd.8 ${MANDIR}/man8/klogd.8
|
2008-10-25 02:06:07 +00:00
|
|
|
+ ${INSTALL} -d ${MANDIR}/man5
|
|
|
|
+ ${INSTALL} -d ${MANDIR}/man8
|
2008-10-25 01:39:51 +00:00
|
|
|
+ ${INSTALL} -m ${MAN_PERMS} sysklogd.8 ${MANDIR}/man8/sysklogd.8
|
|
|
|
+ ${INSTALL} -m ${MAN_PERMS} syslogd.8 ${MANDIR}/man8/syslogd.8
|
|
|
|
+ ${INSTALL} -m ${MAN_PERMS} syslog.conf.5 ${MANDIR}/man5/syslog.conf.5
|
|
|
|
+ ${INSTALL} -m ${MAN_PERMS} klogd.8 ${MANDIR}/man8/klogd.8
|
|
|
|
|
|
|
|
obj-m += oops.o
|
|
|
|
|