From 6961522372daad4d072d05231b378d09142c3851 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sun, 23 Sep 2007 14:21:39 +0000 Subject: [PATCH] Avoid repeated remake of dialog --- package/dialog/dialog.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk index e2c5f55b3a..731f4faa7a 100644 --- a/package/dialog/dialog.mk +++ b/package/dialog/dialog.mk @@ -13,7 +13,7 @@ DIALOG_TARGET_BINARY:=usr/bin/dialog $(DL_DIR)/$(DIALOG_SOURCE): $(WGET) -P $(DL_DIR) $(DIALOG_SITE)/$(DIALOG_SOURCE) -$(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE) $(DL_DIR)/$(DIALOG_PATCH1) +$(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE) $(ZCAT) $(DL_DIR)/$(DIALOG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $@ @@ -32,6 +32,7 @@ $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source $(DIALOG_DIR)/$(DIALOG_BINARY): $(DIALOG_DIR)/.configured $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(DIALOG_DIR) + touch -c $@ $(TARGET_DIR)/$(DIALOG_TARGET_BINARY): $(DIALOG_DIR)/$(DIALOG_BINARY) $(MAKE) prefix=$(TARGET_DIR)/usr \ -- 2.30.2