Index: Makefile
--- Makefile.orig	2024-05-05 08:19:41.139275000 +0200
+++ Makefile	2024-05-05 08:20:10.330480000 +0200
@@ -453,8 +453,8 @@
 bindir ?= $(prefix)/bin
 libdir ?= $(prefix)/lib
 incdir ?= $(prefix)/include
-mandir ?= $(prefix)/share/man
-docdir ?= $(prefix)/share/doc/mupdf
+mandir ?= $(prefix)/man
+docdir ?= $(prefix)/share/mupdf
 pydir ?= $(shell python3 -c "import sysconfig; print(sysconfig.get_path('platlib'))")
 SO_INSTALL_MODE ?= 644
 
