summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 11:57:35 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-21 11:57:35 +0000
commit405aadb356f830cb995b4fff11b1b85d8738697b (patch)
treefc51df4700f48da754779a4da228d770b4e4156c
parentba7d905b544679f811cfd3919d8f8a2edbd7b395 (diff)
- use DESTDIR for install. Thanks to Stuart Longland. Closes #926
-rw-r--r--package/lvm2/lvm2.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk
index 113af6957..2760fc7dc 100644
--- a/package/lvm2/lvm2.mk
+++ b/package/lvm2/lvm2.mk
@@ -56,7 +56,7 @@ $(LVM2_DIR)/.configured: $(LVM2_DIR)/.unpacked
$(LVM2_TARGET_SBINS): $(LVM2_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR)
- $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) install prefix=$(STAGING_DIR) exec_prefix=$(STAGING_DIR)
+ $(MAKE) CC=$(TARGET_CC) -C $(LVM2_DIR) DESTDIR=$(STAGING_DIR) install
for binary in $(LVM2_SBIN); do echo $$binary; cp -a $(STAGING_DIR)/sbin/$$binary $(TARGET_DIR)/sbin; done
lvm2: uclibc dm $(LVM2_TARGET_SBINS)