From: John Voltz Date: Thu, 6 Mar 2008 18:11:51 +0000 (-0000) Subject: cleanup grep makefile X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ada162e8afbab5e4d897de6934f5ee18ae4b6be;p=buildroot.git cleanup grep makefile --- diff --git a/package/grep/grep.mk b/package/grep/grep.mk index ed019b211b..c12b1df1c4 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -23,7 +23,7 @@ $(GNUGREP_DIR)/.unpacked: $(DL_DIR)/$(GNUGREP_SOURCE) $(GNUGREP_CAT) $(GNUGREP_DIR).xxx/grep_$(GNUGREP_VERSION).tar.gz | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - rm -rf $(GNUGREP_DIR).xxx $(CONFIG_UPDATE) $(GNUGREP_DIR) - touch $(GNUGREP_DIR)/.unpacked + touch $@ $(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked (cd $(GNUGREP_DIR); rm -rf config.cache; \ @@ -49,7 +49,7 @@ $(GNUGREP_DIR)/.configured: $(GNUGREP_DIR)/.unpacked --disable-perl-regexp \ --without-included-regex \ ) - touch $(GNUGREP_DIR)/.configured + touch $@ $(GNUGREP_DIR)/$(GNUGREP_BINARY): $(GNUGREP_DIR)/.configured $(MAKE) -C $(GNUGREP_DIR)