summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Hunter <m@lfurio.us>2026-06-01 03:03:18 -0400
committerMatt Hunter <m@lfurio.us>2026-06-01 03:03:18 -0400
commit6915b76442b9a8c350922f4b8cf71075095ccf11 (patch)
tree58e83868c2ec739bc677128f432d75df7fc7f974
parentc91124f69d901416399aad6a721c23077edd3cd5 (diff)
downloadgit-sonar-6915b76442b9a8c350922f4b8cf71075095ccf11.tar.gz
git-sonar-6915b76442b9a8c350922f4b8cf71075095ccf11.zip
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 <m@lfurio.us>
-rw-r--r--Makefile4
1 files 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