changed the installation prefixes for target
authorDavid Anders <dave123@abcsinc.com>
Wed, 24 May 2006 14:41:30 +0000 (14:41 -0000)
committerDavid Anders <dave123@abcsinc.com>
Wed, 24 May 2006 14:41:30 +0000 (14:41 -0000)
package/gettext/gettext.mk

index 15ee497eeaea706c58fe2255c09d2bc4fde31f75..3de5e3026fa15b68dffb74322ff3cf3e29dcbd0e 100644 (file)
@@ -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)