qmk_firmware/Maintenance/makefile

35 lines
1.0 KiB
Makefile
Raw Normal View History

2012-03-07 20:08:12 +01:00
#
# LUFA Library
# Copyright (C) Dean Camera, 2011.
#
# dean [at] fourwalledcubicle [dot] com
# www.lufa-lib.org
#
# Maintenance scripts not required by general LUFA users, used for development.
LUFA_ROOT = ../
all:
2012-03-07 20:08:12 +01:00
upgrade-doxygen:
@echo Upgrading Doxygen.conf files...
2012-03-07 20:08:12 +01:00
@for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \
doxygen -u $$doxygen_conf; \
sed "s/MARKDOWN_SUPPORT *= *YES/MARKDOWN_SUPPORT = NO/1" $$doxygen_conf > $$doxygen_conf.new; \
mv -u $$doxygen_conf.new $$doxygen_conf; \
2012-03-07 20:08:12 +01:00
done;
@echo Doxygen configuration update complete.
check-release:
@echo Checking for release suitability...
@if ( grep "XXXXXX" $(LUFA_ROOT)/LUFA/DoxygenPages/*.txt > /dev/null ;); then \
echo " ERROR: Doxygen documentation has not been updated for release!"; \
exit 1; \
2012-03-07 20:08:12 +01:00
fi;
@if ( grep "000000" $(LUFA_ROOT)/LUFA/Version.h > /dev/null ;); then \
echo " ERROR: Version header has not been updated for release!"; \
exit 1; \
2012-03-07 20:08:12 +01:00
fi;
@echo Done.