1
0
mirror of https://github.com/sjlongland/cluster-powerctl.git synced 2025-09-13 20:13:16 +10:00

Makefile: Show differences in setpoints when updated.

This commit is contained in:
Stuart Longland 2017-03-19 12:23:44 +10:00
parent 3969248610
commit 403bd5d58f
Signed by: stuartl
GPG Key ID: F954BBBB7948D546

View File

@ -54,6 +54,7 @@ setpoints.h: setpoints.h.dist
echo "Existing $@ found. Please compare this file with"; \ echo "Existing $@ found. Please compare this file with"; \
echo "$^ to check for any new definitions and merge as"; \ echo "$^ to check for any new definitions and merge as"; \
echo "required."; \ echo "required."; \
diff -u $^ $@
exit 1; \ exit 1; \
fi fi
cp $^ $@ cp $^ $@