git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: preserve make errors, ignore empty output
[sheet.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index fb804a8ca2496116850511a62e65f6bc6e16d80d..85fc990f3abd1d59e0b49fa3893906f817c13e58 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,7
@@
download: data/DerivedAge.txt data/rfc1345.txt data/xorg-compose data/countryInf
.PHONY: download
# atomically create file by command
.PHONY: download
# atomically create file by command
-cmdsave = @echo $1 $2 \>$@;
$1 $2 | sponge $@
+cmdsave = @echo $1 $2 \>$@;
mispipe '$1 $2' 'ifne sponge $@'
# download git checkout
gitsave = @if cd $@ 2>/dev/null; \
then echo git pull $@; git pull -q --ff-only || true; \
# download git checkout
gitsave = @if cd $@ 2>/dev/null; \
then echo git pull $@; git pull -q --ff-only || true; \