mirror of
https://github.com/troglobit/finit.git
synced 2026-10-09 16:50:59 +07:00
Drop --disable-logit configure option, no longer in $PATH
Simplify build system. The logit tool is, as of v4.0, installed into /libexec/finit/logit and thus not part of the system $PATH. If a sysadmin or distro wants to remove it from the system it's entirely possible since Finit always checks for logit availability before attempting to use it. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-4
@@ -8,7 +8,7 @@ AM_LDFLAGS = -export-dynamic
|
||||
endif
|
||||
|
||||
sbin_PROGRAMS = finit initctl
|
||||
pkglibexec_PROGRAMS = sulogin
|
||||
pkglibexec_PROGRAMS = logit sulogin
|
||||
finit_pkglibdir = $(pkglibdir)
|
||||
finit_pkglib_SCRIPTS = rescue.conf sample.conf
|
||||
|
||||
@@ -20,13 +20,10 @@ if WATCHDOGD
|
||||
pkglibexec_PROGRAMS += watchdogd
|
||||
endif
|
||||
|
||||
if LOGIT
|
||||
pkglibexec_PROGRAMS += logit
|
||||
logit_SOURCES = logit.c logrotate.c
|
||||
logit_CFLAGS = -W -Wall -Wextra -Wno-unused-parameter -std=gnu99
|
||||
logit_CFLAGS += $(lite_CFLAGS)
|
||||
logit_LDADD = $(lite_LIBS)
|
||||
endif
|
||||
|
||||
finit_SOURCES = api.c cgroup.c cgroup.h \
|
||||
cond.c cond-w.c cond.h \
|
||||
|
||||
Reference in New Issue
Block a user