X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/4cd80263ff477e81ab88dc76f32103f3852a0468..c757acf1f7f3f45522024af7adf8df71a42a1dc1:/Maintenance/makefile diff --git a/Maintenance/makefile b/Maintenance/makefile index b401f127e..df0403775 100644 --- a/Maintenance/makefile +++ b/Maintenance/makefile @@ -1,6 +1,6 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2012. +# Copyright (C) Dean Camera, 2013. # # dean [at] fourwalledcubicle [dot] com # www.lufa-lib.org @@ -14,24 +14,27 @@ LUFA_ROOT := ../ all: +# Generate a header containing all library functions +function-list: + $(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 + @rm temp.xml + # Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled upgrade-doxygen: @echo Upgrading Doxygen.conf files... @for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \ doxygen -u $$doxygen_conf; \ - sed "s/MARKDOWN_SUPPORT *= *YES/MARKDOWN_SUPPORT = NO/1" $$doxygen_conf > $$doxygen_conf.new; \ - sed "s/DISABLE_INDEX *= *NO/DISABLE_INDEX = YES/1" $$doxygen_conf.new > $$doxygen_conf.new2; \ - mv -u $$doxygen_conf.new2 $$doxygen_conf; \ - rm $$doxygen_conf.new; \ done; @echo Doxygen configuration update complete. # Make all possible bootloaders for all targets and configurations as set by the BootloaderTest build test -# and store them in a seperate directory called "Bootloaders" -make_bootloaders: +# and store them in a separate directory called "Bootloaders" +bootloaders: @echo "build_bootloaders:" > BuildMakefile @printf "\t-mkdir Bootloaders 2>/dev/null\n\n" >> BuildMakefile - + @while read line; \ do \ build_cfg=`echo $$line | grep -v "#" | sed 's/ //g'`; \ @@ -83,4 +86,4 @@ validate-branch: validate-release: check-documentation-placeholders validate-branch -.PHONY: all upgrade-doxygen make-as4-projects make_bootloaders check-documentation-placeholders validate-branch \ No newline at end of file +.PHONY: all upgrade-doxygen bootloaders check-documentation-placeholders validate-branch