From 26a4ca6ab56d23054f606bc378ba355cebce485a Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 5 Sep 2023 15:07:38 +0200 Subject: migrate moncheck to slog With this moncheck itself is also changed to use slog. The early config parsing is still using log as we do not have any idea what else to use. But from then slog is used at all points. With the additional config options a man page was also added to explain the new config options. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3f43128..a9e9418 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ exec_prefix ?= ${prefix} bindir ?= ${exec_prefix}/bin sysconfdir ?= ${prefix}/etc/${NAME} datarootdir ?= ${prefix}/share +man1dir ?= ${datarootdir}/man/man1 datadir ?= ${datarootdir}/${NAME} WRKDIR ?= build GOBIN ?= go @@ -51,6 +52,7 @@ preinstall: install-moncheck: preinstall install -m 0755 ${WRKDIR}/moncheck ${DESTDIR}${bindir} install -m 0644 moncheck.conf.example ${DESTDIR}${sysconfdir} + install -m 0644 man/moncheck.1 ${DESTDIR}${man1dir} install-monwork: preinstall install -m 0755 ${WRKDIR}/monwork ${DESTDIR}${bindir} -- cgit v1.2.3-70-g09d2