summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-12-04 02:11:41 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-12-04 02:11:41 (GMT)
commit0eefb63b8a12159eee128ce9476e96741a1014ee (patch)
tree23cfb79c788c30371acb5803471f3423872c7f47
parentadb91782582c10917c1b98fbaefad6485117cda5 (diff)
parentd915ffa01fc18a38adeccfd83852b364c29db639 (diff)
downloadmxe-0eefb63b8a12159eee128ce9476e96741a1014ee.zip
mxe-0eefb63b8a12159eee128ce9476e96741a1014ee.tar.gz
mxe-0eefb63b8a12159eee128ce9476e96741a1014ee.tar.bz2
Merge pull request #282 from TimothyGu/update-sep
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,$*) && \