From 0b7d78d7c2d18ae4dc88580856a8de25f5ba1471 Mon Sep 17 00:00:00 2001 From: Andinus Date: Sun, 15 Nov 2020 13:53:29 +0530 Subject: Improve Makefile, update README Now on OpenBSD, Makefile will install the man page to /usr/local/man/man1 instead of /usr/local/share/man/man1 which is not indexed by default. It'll also install the example configuration & README. --- README | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'README') diff --git a/README b/README index 4fa56de..f05b18b 100644 --- a/README +++ b/README @@ -9,7 +9,6 @@ Table of Contents ───────────────── 1. Installation -.. 1. OpenBSD 2. Demo @@ -33,6 +32,9 @@ with signify(1). │ # Install dependencies with cpanm. │ cpanm --installdeps . │ + │ # Install all the dependencies. + │ doas pkg_add p5-IPC-Run3 p5-Config-Tiny p5-Path-Tiny # OpenBSD only. + │ │ # Copy the config. │ cp share/leo.conf $HOME/.config/leo.conf │ @@ -41,21 +43,6 @@ with signify(1). └──── -1.1 OpenBSD -─────────── - - Clone & copy the config as shown above, then run these to install - dependencies & leo. - ┌──── - │ # Install all the dependencies. (OpenBSD) - │ doas pkg_add p5-IPC-Run3 p5-Config-Tiny p5-Path-Tiny - │ - │ # The man-path `/usr/local/share/man` is not indexed by default on - │ # openbsd. Using the `/usr` prefix works around this issue. - │ doas make PREFIX=/usr install - └──── - - 2 Demo ══════ -- cgit 1.4.1-2-gfad0