tree: Install files into correct location

Message ID 20230226122057.273521-1-stefan.schantl@ipfire.org
State Accepted
Commit e46113aa90d77df1bd44d853cedb4ee2b7634791
Headers
Series tree: Install files into correct location |

Commit Message

Stefan Schantl Feb. 26, 2023, 12:20 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 tree/tree.nm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
  

Patch

diff --git a/tree/tree.nm b/tree/tree.nm
index 5c3cb32b1..895948bc4 100644
--- a/tree/tree.nm
+++ b/tree/tree.nm
@@ -5,7 +5,7 @@ 
 
 name       = tree
 version    = 2.1.0
-release    = 1
+release    = 2
 
 groups     = Applications/File
 url        = https://mama.indstate.edu/users/ice/tree/
@@ -27,8 +27,10 @@  build
 		LDFLAGS="%{LDFLAGS}"
 
 	install
-		make install BINDIR=%{BUILDROOT}%{bindir} \
-			MANDIR=%{BUILDROOT}%{mandir}/man1
+		make install \
+			PREFIX=%{BUILDROOT}%{prefix} \
+			BINDIR=%{BUILDROOT}%{bindir} \
+			MANDIR=%{BUILDROOT}%{mandir} 
 	end
 end