summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-02-25 13:52:59 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-02-25 13:52:59 +0000
commitdd3279ef78b95df70c1315bd39be68964c1771c5 (patch)
tree7147a47bb2ce2740ffb9973012c82f360e932d2d /Makefile
parent7ac6b3d6d0c387738a388790ba7b51b3dcf176fc (diff)
downloadrsyslog-dd3279ef78b95df70c1315bd39be68964c1771c5.tar.gz
rsyslog-dd3279ef78b95df70c1315bd39be68964c1771c5.tar.xz
rsyslog-dd3279ef78b95df70c1315bd39be68964c1771c5.zip
coming closer to 0.8.1 release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 0cc0dc2b..44134dad 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,9 @@ CFLAGS= -DSYSV -g -Wall -fno-omit-frame-pointer
#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB
#LDFLAGS= -s
-# Look where your install program is.
-INSTALL = /usr/bin/install
+INSTALL = install
BINDIR = /usr/sbin
-MANDIR = /usr/man
+MANDIR = /usr/share/man
# Uncommenting the following to use mysql.
#LIBS = -lmysqlclient #/var/lib/mysql/mysql
@@ -87,11 +86,11 @@ clobber: clean
rm -f syslogd klogd ksym syslog_tst oops_test TAGS tsyslogd tklogd
install-replace: syslogd
- ${INSTALL} -b -m 500 -s syslogd ${BINDIR}/syslogd
+ ${INSTALL} -b -m 500 -s syslogd ${DESTDIR}${BINDIR}/syslogd
install_exec: syslogd
- cp ${BINDIR}/syslogd ${BINDIR}/syslogd-previous
- ${INSTALL} -b -m 500 -s syslogd ${BINDIR}/syslogd
+ cp ${DESTDIR}${BINDIR}/syslogd ${DESTDIR}${BINDIR}/syslogd-previous
+ ${INSTALL} -b -m 500 -s syslogd ${DESTDIR}${BINDIR}/syslogd
# man not yet supported ;)
#install_man: