chiark
/
gitweb
/
~ijackson
/
trains.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce3d56
)
New $(ocmp) like $o but compares to avoid too much remaking
author
ian
<ian>
Sun, 15 Jun 2008 11:35:42 +0000
(11:35 +0000)
committer
ian
<ian>
Sun, 15 Jun 2008 11:35:42 +0000
(11:35 +0000)
common.make
patch
|
blob
|
history
diff --git
a/common.make
b/common.make
index a15cbedda35d7f5f1eef29a3f33f343b248e9fc1..8a9c398a384a5d8a483f9098b5a78c1b65204d8b 100644
(file)
--- a/
common.make
+++ b/
common.make
@@
-1
+1,2
@@
o=>$@.new && mv -f $@.new $@
+ocmp=>$@.new && (cmp $@ $@.new || mv -f $@.new $@)