diff options
author | Tony Theodore <tonyt@logyst.com> | 2015-11-30 03:50:10 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2015-11-30 03:50:10 (GMT) |
commit | d6e2ad38053a9c45c1f62094b63001a195103276 (patch) | |
tree | bf46900e708f0a9e566619aea59c03d18256735e | |
parent | 42ee8895a958527c6f2c67a04bb2491646b56929 (diff) | |
download | mxe-d6e2ad38053a9c45c1f62094b63001a195103276.zip mxe-d6e2ad38053a9c45c1f62094b63001a195103276.tar.gz mxe-d6e2ad38053a9c45c1f62094b63001a195103276.tar.bz2 |
Makefile: only call UPDATE if rule exists
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -603,11 +603,12 @@ define UPDATE endef update: - $(foreach PKG,$(PKGS),$(call UPDATE,$(PKG),$(shell $($(PKG)_UPDATE)))) + $(foreach PKG,$(PKGS),\ + $(and $($(PKG)_UPDATE),$(call UPDATE,$(PKG),$(shell $($(PKG)_UPDATE))))) update-package-%: $(if $(call set_is_member,$*,$(PKGS)), \ - $(call UPDATE,$*,$(shell $($*_UPDATE))), \ + $(and $($*_UPDATE),$(call UPDATE,$*,$(shell $($*_UPDATE)))), \ $(error Package $* not found in index.html)) update-checksum-%: |