aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-04-09 10:04:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-04-09 10:04:40 +0000
commit3211b35a4cd29e5f0178f597352d4c9542bc3478 (patch)
treed82c436b76d8d6e5dd923d890d4dab06183429c8 /LUFA/makefile
parentb2fe539d1c8fe011b9a2332d77221416913d3187 (diff)
downloadlufa-3211b35a4cd29e5f0178f597352d4c9542bc3478.tar.gz
lufa-3211b35a4cd29e5f0178f597352d4c9542bc3478.tar.bz2
lufa-3211b35a4cd29e5f0178f597352d4c9542bc3478.zip
Make Doxygen fail for any Doxygen output other than unsupported tags (as these are somewhat benign).
Improve exclusion list for the main library export_tar rule to exclude any compiled library files from the export.
Diffstat (limited to 'LUFA/makefile')
-rw-r--r--LUFA/makefile6
1 files changed, 4 insertions, 2 deletions
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.