diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-23 12:08:53 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-07-23 12:08:53 +0000 |
commit | 0770fcc8a01ab3a2ed9f11ecb73d8a59dc3b7f5b (patch) | |
tree | dd24aacc4c3f5c39a81fbfe8b3aab591f390d50e | |
parent | 653bf7292699e1b55f098a02fac607933eee509c (diff) |
grep: make locale handling less verbose
As suggested by Bernhard.
-rw-r--r-- | package/grep/grep.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/package/grep/grep.mk b/package/grep/grep.mk index 6b0a65933..a1b9d12cc 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -11,10 +11,6 @@ GNUGREP_CAT:=$(ZCAT) GNUGREP_BINARY:=src/grep GNUGREP_TARGET_BINARY:=bin/grep -ifeq ($(BR2_ENABLE_LOCALE),y) -GNUGREP_EXTRA_DEPS:=gettext libintl -endif - $(DL_DIR)/$(GNUGREP_SOURCE): $(WGET) -P $(DL_DIR) $(GNUGREP_SITE)/$(GNUGREP_SOURCE) @@ -54,8 +50,9 @@ $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY): $(GNUGREP_DIR)/$(GNUGREP_BINARY) done $(STRIPCMD) $(STRIP_STRIP_ALL) $@ -grep: uclibc $(GNUGREP_EXTRA_DEPS) $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) - +grep: uclibc $(if $(BR2_ENABLE_LOCALE),gettext libintl) \ + $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) + echo deps: $^ grep-clean: rm -f $(addprefix $(TARGET_DIR)/bin/,egrep fgrep grep) -$(MAKE) -C $(GNUGREP_DIR) clean |