File killerd-1.1-makefile.diff of Package killerd
--- Makefile
+++ Makefile
@@ -2,6 +2,8 @@
CFLAGS=-O2 -fomit-frame-pointer -Wall -Wno-parentheses -Wstrict-prototypes
LDFLAGS=-s
+SBINDIR = /usr/sbin
+CONFIGDIR = /etc
all: killerd
@@ -14,5 +16,5 @@
rm -f *.o *~ "#*#" killerd TAGS
install:
- install -s -m 755 killerd /usr/sbin/killerd
- if ! [ -f /etc/killerd.conf ] ; then install -m 644 killerd.conf /etc/killerd.conf ; fi
+ install -s -m 755 killerd $(SBINDIR)/killerd
+ if ! [ -f $(CONFIGDIR)/killerd.conf ] ; then install -m 644 killerd.conf $(CONFIGDIR)/killerd.conf ; fi