From 6915b76442b9a8c350922f4b8cf71075095ccf11 Mon Sep 17 00:00:00 2001 From: Matt Hunter Date: Mon, 1 Jun 2026 03:03:18 -0400 Subject: Use more portable path for manpages It looks like various Linux disros support either /usr/local/man or /usr/local/share/man, and symlink one to the other. Different distros even use different paths as the "real" directory, flipping the symlink around. However, OpenBSD lacks the option of using /usr/local/share/man. So conform to this stricter case for better compatibility. Signed-off-by: Matt Hunter --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e29e455..fcf1415 100644 --- a/Makefile +++ b/Makefile @@ -19,9 +19,9 @@ all: install: @echo 'Installing in' $(PREFIX) '...' - mkdir -p $(PREFIX)/bin $(PREFIX)/share/man/man1 + mkdir -p $(PREFIX)/bin $(PREFIX)/man/man1 install -m 755 $(SOURCE) $(PREFIX)/bin - install -m 644 $(MANPAGES) $(PREFIX)/share/man/man1 + install -m 644 $(MANPAGES) $(PREFIX)/man/man1 develop: # Link each file separately since the full PWD is needed -- cgit v1.2.3