$(node-webkit-pattern):
mkdir -p $(@D)
- wget -O $@ http://dl.node-webkit.org/v$(*F)/$(@F) || ($(RM) $@ && exit 1)
+ wget -O $@.tmp http://dl.node-webkit.org/v$(*F)/$(@F)
+ mv $@.tmp $@
node-webkit-version ?= 0.10.2
node-webkit-prefix ?= node-webkit/
$(node-webkit-directx):
mkdir -p $(@D)
- wget -O $@ 'https://github.com/cefsharp/cef-binary/raw/1e51255cf77d267899bf7834768b8774affaad2d/cef_binary_3.y.z_windows32/Release/'$(@F)
+ wget -O $@.tmp 'https://github.com/cefsharp/cef-binary/raw/1e51255cf77d267899bf7834768b8774affaad2d/cef_binary_3.y.z_windows32/Release/'$(@F)
+ mv $@.tmp $@
$(node-webkit-prefix)dxwebsetup.exe:
mkdir -p $(@D)
- wget -O $@ http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe
+ wget -O $@.tmp http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe
+ mv $@.tmp $@