X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/8b5aa616013811faf53fb5c1f2fdb819dd671b36..d4b45e8502a27c0f5ad3e26eabd2b30e84c20bac:/LUFA/makefile?ds=inline diff --git a/LUFA/makefile b/LUFA/makefile index bfe9b8a04..0ff15c901 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -77,16 +77,25 @@ ifeq ($(origin LUFA_PATH), undefined) doxygen: @echo Generating LUFA Library Documentation... - ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - + + @if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" ) | doxygen - 2>&1 | grep ": warning:" ;); then \ + exit 1; \ + fi; + @echo Documentation Generation Complete. clean_doxygen: rm -rf Documentation checksource: + + export_tar: + @echo Exporting LUFA library to a TAR archive... + @tar -cf LUFA_`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`.tar --directory=. --exclude=Documentation --exclude=DoxygenPages --exclude=CodeTemplates --exclude=Doxygen.conf --exclude=*.tar * + @echo Export LUFA_`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`.tar complete. version: @echo "LUFA `grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" - .PHONY: all clean clean_list doxygen clean_doxygen version + .PHONY: all clean clean_list doxygen clean_doxygen checksource export_tar version endif