cleanup which makefile

This commit is contained in:
John Voltz 2008-03-06 18:29:21 +00:00
parent 8a44ae675b
commit 7514ac7a62
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
# which
#
#############################################################
WHICH_VERSION:=2.16
WHICH_VERSION:=2.19
WHICH_SOURCE:=which-$(WHICH_VERSION).tar.gz
WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/
WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VERSION)
@ -19,7 +19,7 @@ which-source: $(DL_DIR)/$(WHICH_SOURCE)
$(WHICH_DIR)/.unpacked: $(DL_DIR)/$(WHICH_SOURCE)
$(WHICH_CAT) $(DL_DIR)/$(WHICH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(CONFIG_UPDATE) $(WHICH_DIR)
touch $(WHICH_DIR)/.unpacked
touch $@
$(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
(cd $(WHICH_DIR); rm -rf config.cache; \
@ -31,7 +31,7 @@ $(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
--build=$(GNU_HOST_NAME) \
--prefix=/ \
)
touch $(WHICH_DIR)/.configured
touch $@
$(WHICH_DIR)/$(WHICH_BINARY): $(WHICH_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)