Blame patches/tree-2.0.2_pre.local.patch

ed60e1
diff -ru tree-2.0.2.orig/Makefile tree-2.0.2/Makefile
ed60e1
--- tree-2.0.2.orig/Makefile	2022-02-16 22:45:43.000000000 +0100
ed60e1
+++ tree-2.0.2/Makefile	2022-02-17 22:49:24.340545322 +0100
ed60e1
@@ -26,15 +26,13 @@
ed60e1
 DESTDIR=${PREFIX}/bin
2dbac0
 MAN=tree.1
ed60e1
 # Probably needs to be ${PREFIX}/share/man for most systems now
2dbac0
-MANDIR=${PREFIX}/man
ed60e1
+MANDIR=${DESTDIR}${PREFIX}/share/man
2dbac0
 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
2dbac0
 
2dbac0
 # Uncomment options below for your particular OS:
2dbac0
 
2dbac0
 # Linux defaults:
2dbac0
 #CFLAGS=-ggdb -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
2dbac0
-CFLAGS=-O3 -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
2dbac0
-LDFLAGS=-s
2dbac0
 
2dbac0
 # Uncomment for FreeBSD:
2dbac0
 #CC=cc
ed60e1
@@ -105,7 +103,7 @@
2dbac0
 install: tree
2dbac0
 	$(INSTALL) -d $(DESTDIR)
2dbac0
 	$(INSTALL) -d $(MANDIR)/man1
2dbac0
-	$(INSTALL) $(TREE_DEST) $(DESTDIR)/$(TREE_DEST); \
ed60e1
+	$(INSTALL) $(TREE_DEST) $(DESTDIR)${PREFIX}/bin/$(TREE_DEST); \
2dbac0
 	$(INSTALL) -m 644 doc/$(MAN) $(MANDIR)/man1/$(MAN)
2dbac0
 
2dbac0
 distclean: