From 405aadb356f830cb995b4fff11b1b85d8738697b Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 21 Dec 2006 11:57:35 +0000 Subject: - use DESTDIR for install. Thanks to Stuart Longland. Closes #926 --- package/lvm2/lvm2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/lvm2') diff --git a/package/lvm2/lvm2.mk b/package/lvm2/lvm2.mk index 113af69579..2760fc7dcc 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) -- cgit v1.2.1