diff options
Diffstat (limited to 'Maintenance/makefile')
-rw-r--r-- | Maintenance/makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Maintenance/makefile b/Maintenance/makefile index 3ff93c184..49b6adb58 100644 --- a/Maintenance/makefile +++ b/Maintenance/makefile @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2015. +# Copyright (C) Dean Camera, 2016. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -71,12 +71,12 @@ bootloaders: # Check the working branch documentation, ensure no placeholder values check-documentation-placeholders: @echo Checking for release suitability... - @if ( grep "XXXXXX" $(patsubst %/,%,$(LUFA_ROOT))/LUFA/DoxygenPages/*.txt > /dev/null ;); then \ - echo " ERROR: Doxygen documentation has not been updated for release!"; \ + @if ( grep " LUFA_VERSION_RELEASE_TYPE " $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Version.h | grep "LUFA_VERSION_RELEASE_TYPE_DEVELOPMENT" > /dev/null ;); then \ + echo " ERROR: Version header has not been updated for release!"; \ exit 1; \ fi; - @if ( grep "000000" $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Version.h > /dev/null ;); then \ - echo " ERROR: Version header has not been updated for release!"; \ + @if ( grep "XXXXXX" $(patsubst %/,%,$(LUFA_ROOT))/LUFA/DoxygenPages/*.txt > /dev/null ;); then \ + echo " ERROR: Doxygen documentation has not been updated for release!"; \ exit 1; \ fi; @echo Done. |