Skip to content

Commit

Permalink
Use the same $MANPREFIX on all operating systems
Browse files Browse the repository at this point in the history
Apparently I was mistaken and both Linux and OpenBSD use /usr/local/man
for man pages.
  • Loading branch information
codesoap committed Mar 15, 2019
1 parent c105eac commit 49a3a31
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
.PHONY: all install uninstall clean

PLATFORM != uname -s
PREFIX = /usr/local
MANPREFIX != if [ ${PLATFORM} = Linux ]; \
then echo '/usr/local/share/man'; \
else echo '/usr/local/man'; \
fi

MANPREFIX = /usr/local/man
ROOT = github.com/codesoap/ytools

all: bin/ytools-search bin/ytools-pick bin/ytools-info bin/ytools-recommend bin/ytools-comments
Expand Down

0 comments on commit 49a3a31

Please sign in to comment.