summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Anders <dave123@abcsinc.com>2006-05-24 14:41:30 +0000
committerDavid Anders <dave123@abcsinc.com>2006-05-24 14:41:30 +0000
commit4c67c2a6f5d4ccfaf7f3a0ca41dba9e30c7e046e (patch)
tree9a3e2db02ac58170284738d5048865b1a7393603
parentd503cac9fa8abfdade5e7e880dcb4b5f58b0eb57 (diff)
changed the installation prefixes for target
-rw-r--r--package/gettext/gettext.mk14
1 files changed, 13 insertions, 1 deletions
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 15ee497ee..3de5e3026 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -44,7 +44,19 @@ $(GETTEXT_DIR)/$(GETTEXT_BINARY): $(GETTEXT_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(GETTEXT_DIR)
$(STAGING_DIR)/$(GETTEXT_TARGET_BINARY): $(GETTEXT_DIR)/$(GETTEXT_BINARY)
- $(MAKE) DESTDIR=$(STAGING_DIR) CC=$(TARGET_CC) -C $(GETTEXT_DIR) install
+ $(MAKE) prefix=$(STAGING_DIR)/usr \
+ exec_prefix=$(STAGING_DIR)/usr \
+ bindir=$(STAGING_DIR)/usr/bin \
+ sbindir=$(STAGING_DIR)/usr/sbin \
+ libexecdir=$(STAGING_DIR)/usr/lib \
+ datadir=$(STAGING_DIR)/usr/share \
+ sysconfdir=$(STAGING_DIR)/etc \
+ localstatedir=$(STAGING_DIR)/var \
+ libdir=$(STAGING_DIR)/usr/lib \
+ infodir=$(STAGING_DIR)/info \
+ mandir=$(STAGING_DIR)/man \
+ includedir=$(STAGING_DIR)/include \
+ -C $(GETTEXT_DIR) install;
gettext: uclibc $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)