diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-11-27 04:10:50 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-11-29 22:37:25 (GMT) |
commit | d915ffa01fc18a38adeccfd83852b364c29db639 (patch) | |
tree | a4539cb2cb91d828556da8fdccc9c9ab2424a222 /Makefile | |
parent | a6c4d0b7c953d6798ce468b1756bee52c4551b08 (diff) | |
download | mxe-d915ffa01fc18a38adeccfd83852b364c29db639.zip mxe-d915ffa01fc18a38adeccfd83852b364c29db639.tar.gz mxe-d915ffa01fc18a38adeccfd83852b364c29db639.tar.bz2 |
Add update-package-% target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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,$*) && \ |