diff options
author | Dylan Scott <dylan@dylanscott.com.au> | 2016-11-09 07:45:20 +1100 |
---|---|---|
committer | Dylan Scott <scott.dylan@abc.net.au> | 2017-01-24 13:53:46 +1100 |
commit | 245f77b863b1dbea9d87381b5f5cff2516553d1d (patch) | |
tree | cdc1b4b47955982df0307c09b0c948ef13cdbb0d /Makefile | |
parent | d5270af1118a86cc8aaf795005941ad980a0d128 (diff) |
Compare Makefile with itself instead of using `--help`
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -487,7 +487,7 @@ $(SUBPROJECTS): %: %-allkm .PHONY: % %: # Check if we have the CMP tool installed - cmp --version >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; + cmp $(ROOT_DIR)/Makefile $(ROOT_DIR)/Makefile >/dev/null 2>&1; if [ $$? -gt 0 ]; then printf "$(MSG_NO_CMP)"; exit 1; fi; # Check if the submodules are dirty, and display a warning if they are git submodule status --recursive 2>/dev/null | \ while IFS= read -r x; do \ @@ -531,4 +531,4 @@ BUILD_DATE := $(shell date +"%Y-%m-%d-%H:%M:%S") $(shell echo '#define QMK_VERSION "$(GIT_VERSION)"' > $(ROOT_DIR)/quantum/version.h) $(shell echo '#define QMK_BUILDDATE "$(BUILD_DATE)"' >> $(ROOT_DIR)/quantum/version.h) -include $(ROOT_DIR)/testlist.mk
\ No newline at end of file +include $(ROOT_DIR)/testlist.mk |