f04a94
diff -ru tree-2.0.3.orig/Makefile tree-2.0.3/Makefile
f04a94
--- tree-2.0.3.orig/Makefile	2022-08-29 16:06:51.186529283 +0200
f04a94
+++ tree-2.0.3/Makefile	2022-08-29 16:07:26.594528175 +0200
f04a94
@@ -26,7 +26,7 @@
f04a94
 DESTDIR=${PREFIX}/bin
f04a94
 MAN=tree.1
f04a94
 # Probably needs to be ${PREFIX}/share/man for most systems now
f04a94
-MANDIR=${PREFIX}/man
f04a94
+MANDIR=${DESTDIR}${PREFIX}/man
f04a94
 OBJS=tree.o list.o hash.o color.o file.o filter.o info.o unix.o xml.o json.o html.o strverscmp.o
f04a94
 
f04a94
 # Uncomment options below for your particular OS: