Merge pull request #282 from TimothyGu/update-sep

Add update-package-% target
This commit is contained in:
Tony Theodore 2013-12-03 18:11:41 -08:00
commit 0eefb63b8a
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,$*) && \