summaryrefslogtreecommitdiff
path: root/bin86
diff options
context:
space:
mode:
Diffstat (limited to 'bin86')
-rw-r--r--bin86/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin86/Makefile b/bin86/Makefile
index 3d8aa6f..df1c3ec 100644
--- a/bin86/Makefile
+++ b/bin86/Makefile
@@ -6,7 +6,11 @@ DIRS=ld as
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib
+ifeq ($(PREFIX),/usr)
+MANDIR=$(PREFIX)/share/man/man1
+else
MANDIR=$(PREFIX)/man/man1
+endif
SUF=86
INSTALL_OPT=-m 755