]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
tree: Install files into correct location
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 26 Feb 2023 12:20:57 +0000 (13:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 27 Feb 2023 12:38:10 +0000 (12:38 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tree/tree.nm

index 5c3cb32b149aeee269cc41254d25183539496036..895948bc4f53e7de6a004bc4bead7025e1a6ab3a 100644 (file)
@@ -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