Revision 904fe1fb
b/Makefile | ||
---|---|---|
43 | 43 |
%/config-devices.mak: default-configs/%.mak |
44 | 44 |
$(call quiet-command,cat $< > $@.tmp, " GEN $@") |
45 | 45 |
@if test -f $@; then \ |
46 |
if cmp -s $@.old $@ || cmp -s $@ $@.tmp; then \ |
|
47 |
mv $@.tmp $@; \ |
|
48 |
cp -p $@ $@.old; \ |
|
46 |
if cmp -s $@.old $@; then \ |
|
47 |
if ! cmp -s $@ $@.tmp; then \ |
|
48 |
mv $@.tmp $@; \ |
|
49 |
cp -p $@ $@.old; \ |
|
50 |
fi; \ |
|
49 | 51 |
else \ |
50 | 52 |
if test -f $@.old; then \ |
51 | 53 |
echo "WARNING: $@ (user modified) out of date.";\ |
Also available in: Unified diff