Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/make

Buildroot egtvedt at uclibc.org 1 participant 1 message Nov 5, 2008

lore
Share & tools
lore
#0 lore raw

Author: egtvedt
Date: 2008-11-05 00:43:04 -0800 (Wed, 05 Nov 2008) New Revision: 23931

Log:
make: add gettext dependency to make rule instead of TARGETS

This patch adds gettext dependency to make: rule instead of the TARGETS variable if locale is selected. Just to conform with common syntax.

Modified:
trunk/buildroot/package/make/make.mk

Changeset:
Modified: trunk/buildroot/package/make/make.mk
===================================================================

buildroot/package/make/make.mk +2 -2
@@ -56,7 +56,7 @@
 	rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
 		$(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
 
-make: uclibc $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY)
+make: uclibc $(if $(BR2_PACKAGE_GETTEXT),gettext) $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY)
 
 make-clean:
 	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GNUMAKE_DIR) uninstall
@@ -71,5 +71,5 @@
 #
 #############################################################
 ifeq ($(strip $(BR2_PACKAGE_MAKE)),y)
-TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make
+TARGETS+=make
 endif