From 5599a3102e6f0d1dca9dbfa2f220e2cc137c3f4a Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Wed, 5 Nov 2008 08:43:04 +0000 Subject: [PATCH] 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. Signed-off-by: Hans-Christian Egtvedt --- package/make/make.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/make/make.mk b/package/make/make.mk index 4cc5e1597a..95bbfe0e04 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -56,7 +56,7 @@ $(TARGET_DIR)/$(GNUMAKE_TARGET_BINARY): $(GNUMAKE_DIR)/$(GNUMAKE_BINARY) 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 @@ make-dirclean: # ############################################################# ifeq ($(strip $(BR2_PACKAGE_MAKE)),y) -TARGETS+=$(if $(BR2_PACKAGE_GETTEXT),gettext) make +TARGETS+=make endif -- 2.30.2