Skip to content

Commit 49a3a31

Browse files
committed
Use the same $MANPREFIX on all operating systems
Apparently I was mistaken and both Linux and OpenBSD use /usr/local/man for man pages.
1 parent c105eac commit 49a3a31

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

makefile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
.PHONY: all install uninstall clean
22

3-
PLATFORM != uname -s
43
PREFIX = /usr/local
5-
MANPREFIX != if [ ${PLATFORM} = Linux ]; \
6-
then echo '/usr/local/share/man'; \
7-
else echo '/usr/local/man'; \
8-
fi
9-
4+
MANPREFIX = /usr/local/man
105
ROOT = github.com/codesoap/ytools
116

127
all: bin/ytools-search bin/ytools-pick bin/ytools-info bin/ytools-recommend bin/ytools-comments

0 commit comments

Comments
 (0)