summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2013-11-27 04:10:50 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2013-11-29 22:37:25 (GMT)
commitd915ffa01fc18a38adeccfd83852b364c29db639 (patch)
treea4539cb2cb91d828556da8fdccc9c9ab2424a222
parenta6c4d0b7c953d6798ce468b1756bee52c4551b08 (diff)
downloadmxe-d915ffa01fc18a38adeccfd83852b364c29db639.zip
mxe-d915ffa01fc18a38adeccfd83852b364c29db639.tar.gz
mxe-d915ffa01fc18a38adeccfd83852b364c29db639.tar.bz2
Add update-package-% target
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7456d64..e10f623 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,$*) && \