aboutsummaryrefslogtreecommitdiffstats
path: root/Maintenance
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2016-03-28 14:10:34 +1100
committerDean Camera <dean@fourwalledcubicle.com>2016-03-28 14:11:03 +1100
commit9669a00c34dc7545b2ca538b5aa0fde745483824 (patch)
tree47e1ab253b837f614555c69aa32e20241094ad17 /Maintenance
parent0c9856f405ca64314fabd5e20a6b0dab4d4a776b (diff)
downloadlufa-9669a00c34dc7545b2ca538b5aa0fde745483824.tar.gz
lufa-9669a00c34dc7545b2ca538b5aa0fde745483824.tar.bz2
lufa-9669a00c34dc7545b2ca538b5aa0fde745483824.zip
Added new LUFA_VERSION_RELEASE_TYPE macro to the library version header, to determine release type (thanks to NicoHood).
Diffstat (limited to 'Maintenance')
-rw-r--r--Maintenance/makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Maintenance/makefile b/Maintenance/makefile
index 7e7b6aa07..49b6adb58 100644
--- a/Maintenance/makefile
+++ b/Maintenance/makefile
@@ -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.