Add update-package-% target

This commit is contained in:
Timothy Gu 2013-11-26 20:10:50 -08:00
parent a6c4d0b7c9
commit d915ffa01f
1 changed files with 5 additions and 0 deletions

View File

@ -366,6 +366,11 @@ endef
update:
$(foreach PKG,$(PKGS),$(call UPDATE,$(PKG),$(shell $($(PKG)_UPDATE))))
update-package-%:
$(if $(findstring $*~,$(addsuffix ~,$(PKGS))), \
$(call UPDATE,$*,$(shell $($*_UPDATE))), \
$(error package $* not found in index.html))
update-checksum-%:
$(if $(findstring $*~,$(addsuffix ~,$(PKGS))), \
$(call DOWNLOAD_PKG_ARCHIVE,$*) && \