File killerd-1.1-makefile.diff of Package killerd
Index: Makefile =================================================================== --- Makefile.orig +++ Makefile @@ -2,6 +2,8 @@ CFLAGS=-O2 -fomit-frame-pointer -Wall -Wno-parentheses -Wstrict-prototypes LDFLAGS=-s +SBINDIR = /usr/sbin +CONFIGDIR = /etc all: killerd @@ -16,5 +18,5 @@ clean: distclean: clean 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