makefile: make sure that sign file is downloaded

This commit is contained in:
Marek Marczykowski 2012-11-07 18:36:00 +01:00
parent 0e068253ac
commit 2d04cac5e5

View File

@ -50,11 +50,15 @@ HASH_FILE :=${SRC_FILE}.sha1sum
URL := $(SRC_BASEURL)/$(SRC_FILE) URL := $(SRC_BASEURL)/$(SRC_FILE)
URL_SIGN := $(SRC_BASEURL)/$(SIGN_FILE) URL_SIGN := $(SRC_BASEURL)/$(SIGN_FILE)
get-sources: $(SRC_FILE) get-sources: $(SRC_FILE) $(SIGN_FILE)
$(SRC_FILE): $(SRC_FILE):
@echo -n "Downloading $(URL)... " @echo -n "Downloading $(URL)... "
@wget -q -N $(URL) @wget -q -N $(URL)
@echo "OK."
$(SIGN_FILE):
@echo -n "Downloading $(URL_SIGN)... "
@wget -q -N $(URL_SIGN) @wget -q -N $(URL_SIGN)
@echo "OK." @echo "OK."