tree: Install files into correct location
Commit Message
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
tree/tree.nm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
@@ -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