projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix code style in the HID parser module.
[pub/USBasp.git]
/
Maintenance
/
makefile
diff --git
a/Maintenance/makefile
b/Maintenance/makefile
index
9b37d7d
..
8061245
100644
(file)
--- a/
Maintenance/makefile
+++ b/
Maintenance/makefile
@@
-14,11
+14,16
@@
LUFA_ROOT := ../
all:
all:
+# Print a list of all filenames and line numbers that exceed an allowed threshold
+line-lengths:
+ awk '{ if (length > 120) { print FILENAME, ":", FNR, "[", length, "]" } }' `find $(LUFA_ROOT) -name *.[ch]`
+
# Generate a header containing all library functions
function-list:
# Generate a header containing all library functions
function-list:
- $(MAKE) -C $(patsubst %/,%,$(LUFA_ROOT))/LUFA doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_XML=yes"
+ $(MAKE) -C $(patsubst %/,%,$(LUFA_ROOT))/LUFA doxygen DOXYGEN_OVERRIDE_PARAMS="GENERATE_
HTML=no GENERATE_
XML=yes"
@xsltproc $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Documentation/xml/combine.xslt $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Documentation/xml/index.xml > temp.xml
@xsltproc lufa_functionlist_transform.xslt temp.xml > function_list.h
@xsltproc $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Documentation/xml/combine.xslt $(patsubst %/,%,$(LUFA_ROOT))/LUFA/Documentation/xml/index.xml > temp.xml
@xsltproc lufa_functionlist_transform.xslt temp.xml > function_list.h
+ @sort function_list.h | uniq > function_list_unique.h
@rm temp.xml
# Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled
@rm temp.xml
# Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled