diff options
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/CodeTemplates/makefile_template.avr8 | 2 | ||||
-rw-r--r-- | LUFA/CodeTemplates/makefile_template.uc3 | 2 | ||||
-rw-r--r-- | LUFA/CodeTemplates/makefile_template.xmega | 2 | ||||
-rw-r--r-- | LUFA/makefile | 6 |
4 files changed, 7 insertions, 5 deletions
diff --git a/LUFA/CodeTemplates/makefile_template.avr8 b/LUFA/CodeTemplates/makefile_template.avr8 index dfe1134aa..cee6f527d 100644 --- a/LUFA/CodeTemplates/makefile_template.avr8 +++ b/LUFA/CodeTemplates/makefile_template.avr8 @@ -683,7 +683,7 @@ clean_list : doxygen: @echo Generating Project Documentation \($(TARGET)\)... - @if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \ + @if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \ exit 1; \ fi; @echo Documentation Generation Complete. diff --git a/LUFA/CodeTemplates/makefile_template.uc3 b/LUFA/CodeTemplates/makefile_template.uc3 index fa4718235..982576064 100644 --- a/LUFA/CodeTemplates/makefile_template.uc3 +++ b/LUFA/CodeTemplates/makefile_template.uc3 @@ -456,7 +456,7 @@ clean_list : doxygen: @echo Generating Project Documentation \($(TARGET)\)... - @if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \ + @if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \ exit 1; \ fi; @echo Documentation Generation Complete. diff --git a/LUFA/CodeTemplates/makefile_template.xmega b/LUFA/CodeTemplates/makefile_template.xmega index f4b7731e1..ee9561032 100644 --- a/LUFA/CodeTemplates/makefile_template.xmega +++ b/LUFA/CodeTemplates/makefile_template.xmega @@ -675,7 +675,7 @@ clean_list : doxygen: @echo Generating Project Documentation \($(TARGET)\)... - @if ( doxygen Doxygen.conf 2>&1 | grep ": warning:" ;); then \ + @if ( doxygen Doxygen.conf 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \ exit 1; \ fi; @echo Documentation Generation Complete. diff --git a/LUFA/makefile b/LUFA/makefile index f2e834c02..8dd3af7f3 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -66,6 +66,8 @@ ifeq ($(origin LUFA_PATH), undefined) $(LUFA_SRC_TEMPERATURE) \ $(LUFA_SRC_SERIAL) \ $(LUFA_SRC_TWI) + + EXCLUDE_FROM_EXPORT = Documentation DoxygenPages CodeTemplates *.conf *.tar *.o *.lss *.lst *.hex *.elf *.bin all: @@ -78,7 +80,7 @@ ifeq ($(origin LUFA_PATH), undefined) doxygen: @echo Generating LUFA Library Documentation... - @if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=$(LUFA_VERSION_NUM)" ) | doxygen - 2>&1 | grep ": warning:" ;); then \ + @if ( ( cat Doxygen.conf ; echo "PROJECT_NUMBER=$(LUFA_VERSION_NUM)" ) | doxygen - 2>&1 | grep -v "warning: ignoring unsupported tag" ;); then \ exit 1; \ fi; @@ -91,7 +93,7 @@ ifeq ($(origin LUFA_PATH), undefined) export_tar: @echo Exporting LUFA library to a TAR archive... - @tar -cf LUFA_$(LUFA_VERSION_NUM).tar --directory=. --exclude=Documentation --exclude=DoxygenPages --exclude=CodeTemplates --exclude=Doxygen.conf --exclude=*.tar * + @tar -cf LUFA_$(LUFA_VERSION_NUM).tar --directory=. $(EXCLUDE_FROM_EXPORT:%=--exclude=%) * @tar -cf LUFA_$(LUFA_VERSION_NUM)_Code_Templates.tar CodeTemplates @echo Export LUFA_$(LUFA_VERSION_NUM).tar complete. |