cleanup which makefile
authorJohn Voltz <john.voltz@gmail.com>
Thu, 6 Mar 2008 18:29:21 +0000 (18:29 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Thu, 6 Mar 2008 18:29:21 +0000 (18:29 -0000)
package/which/which.mk

index be2a4027a500086662c2efa03dfe8ae226b83f9e..87254236e9eba441e954d490e82589f91aa24d9c 100644 (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)