From d915ffa01fc18a38adeccfd83852b364c29db639 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Tue, 26 Nov 2013 20:10:50 -0800 Subject: [PATCH] Add update-package-% target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 7456d641..e10f6236 100644 --- a/Makefile +++ b/Makefile @@ -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,$*) && \