Copy from Base:System/killerd based on submit request 24419 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/24419 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/killerd?expand=0&rev=5
22 lines
622 B
Diff
22 lines
622 B
Diff
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
|