changeset 429:2fa394d22e1d

bugfix and simplification of "make download"
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 02 Sep 2009 10:08:31 +0200
parents 951e2a6d1e69
children 5d2c64680021
files Makefile
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Wed Sep 02 09:37:48 2009 +0200
+++ b/Makefile	Wed Sep 02 10:08:31 2009 +0200
@@ -104,10 +104,7 @@
 
 define PKG_RULE
 .PHONY: download-$(1)
-download-$(1): $(addprefix download-only-,$($(1)_DEPS)) download-only-$(1)
-
-.PHONY: download-only-$(1)
-download-only-$(1): $(TOP_DIR)/src/$(1).mk
+download-$(1): $(addprefix download-,$($(1)_DEPS))
 	[ -d '$(PKG_DIR)' ] || mkdir -p '$(PKG_DIR)'
 	if ! $(call CHECK_PKG_ARCHIVE,$(1)); then \
 	    $(call DOWNLOAD_PKG_ARCHIVE,$(1)); \