[Lunar-commits] <moonbase> btrfs-progs: fix install locations, install btrfs-convert

Duncan Gibson engelsman at lunar-linux.org
Wed Aug 25 21:45:50 CEST 2010


commit 2c21d5acf21f25c44694208b2ecaf09819a338a8
Author: Auke Kok <sofar at foo-projects.org>
Date:   Wed Aug 25 21:45:50 2010 +0200

    btrfs-progs: fix install locations, install btrfs-convert
---
 zbeta/btrfs-progs/BUILD |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/zbeta/btrfs-progs/BUILD b/zbeta/btrfs-progs/BUILD
index b14b924..2e06ed1 100644
--- a/zbeta/btrfs-progs/BUILD
+++ b/zbeta/btrfs-progs/BUILD
@@ -1,7 +1,12 @@
 (
 
-  prefix=/usr make &&
+  sedit 's/^prefix.*/prefix = \//' Makefile
+  sedit 's/\/local//' man/Makefile &&
+  sedit 's/^bindir.*/bindir = \/sbin/' Makefile &&
+
+  make &&
+  make convert &&
   prepare_install &&
-  prefix=/usr make install
+  make install
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list