From 61663762c3457dd22250078c9af571fcaa60af99 Mon Sep 17 00:00:00 2001 From: Clayton Craft <clayton@craftyguy.net> Date: Thu, 3 Oct 2024 12:07:09 -0700 Subject: [PATCH] readme: build: update to reflect recent 'make' PREFIX and install changes --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4186b28..f69065b 100644 --- a/README.md +++ b/README.md @@ -7,17 +7,11 @@ time in userspace is kept in present time. ## Build The repository contains a simple Makefile. By `make install` the two -shell scripts get installed to `/sbin`. Adding `PREFIX=/usr` places them -to `/usr/sbin`. Variable `DESTDIR` allows to change the install path to -something like `DESTDIR=$pkgdir`. +shell scripts get installed to `/usr/bin`. Variable `DESTDIR` allows to change +the install path to something like `DESTDIR=$pkgdir`. -To install the two OpenRC service files, perform `make install_openrc`. -They get installed to `/etc/init.d`. Variable `DESTDIR` applies here as -well, `PREFIX` does not. - -To install the systemd service files, perform `make install_systemd`. -They get installed to `/lib/systemd/system`. Variable `DESTDIR` applies here as -well, `PREFIX` does not. +Both the OpenRC and systemd service files are installed by `make install`. +Downstream packaging can choose to distribute one set, both, or none. ## Managing OpenRC services After installing the files, OpenRC services need to be set accordingly. -- GitLab