From e3124bb90b798f98670cbc993ee36d77ef5482bf Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Wed, 7 Mar 2012 19:08:12 +0000 Subject: [PATCH] Add library maintenance scripts. --- Maintenance/makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Maintenance/makefile diff --git a/Maintenance/makefile b/Maintenance/makefile new file mode 100644 index 0000000000..87a8b9e8f6 --- /dev/null +++ b/Maintenance/makefile @@ -0,0 +1,28 @@ +# +# 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 = ../ + +upgrade-doxygen: + @echo Updating Doxygen.conf files... + @for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \ + doxygen -u $$doxygen_conf; \ + 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!"; \ + fi; + @if ( grep "000000" $(LUFA_ROOT)/LUFA/Version.h > /dev/null ;); then \ + echo " ERROR: Version header has not been updated for release!"; \ + fi; + @echo Done.