# Update all Doxygen configuration files to the latest Doxygen version - force Markdown support to be disabled\r
upgrade-doxygen:\r
@echo Upgrading Doxygen.conf files...\r
- @for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \\r
- doxygen -u $$doxygen_conf; \\r
+ @for doxygen_conf in `find $(LUFA_ROOT) -name Doxygen.conf`; do \\r
+ doxygen -u $$doxygen_conf; \\r
sed "s/MARKDOWN_SUPPORT *= *YES/MARKDOWN_SUPPORT = NO/1" $$doxygen_conf > $$doxygen_conf.new; \\r
- sed "s/DISABLE_INDEX *= *NO/DISABLE_INDEX = YES/1" $$doxygen_conf.new > $$doxygen_conf.new2; \\r
- mv -u $$doxygen_conf.new2 $$doxygen_conf; \\r
- rm $$doxygen_conf.new; \\r
+ sed "s/DISABLE_INDEX *= *NO/DISABLE_INDEX = YES/1" $$doxygen_conf.new > $$doxygen_conf.new2; \\r
+ mv -u $$doxygen_conf.new2 $$doxygen_conf; \\r
+ rm $$doxygen_conf.new; \\r
done;\r
@echo Doxygen configuration update complete.\r
\r
@echo Creating AVR Studio 4 project files for Demos...\r
@for project_makefile in `find $(LUFA_ROOT)/Demos $(LUFA_ROOT)/Projects $(LUFA_ROOT)/Bootloaders -name makefile*`; do \\r
target_name=`grep "TARGET *=" $$project_makefile | cut -d'=' -f2 | sed 's/ //g'`; \\r
- target_folder=`dirname $$project_makefile`; \\r
- as4_date=`date "+%e-%b-%Y %H:%M:%S"`; \\r
- \\r
- if ( test -n "$$target_name" ); then \\r
- echo Creating AS4 project for project $$target_name; \\r
- \\r
- source_files="<OTHERFILE>`basename $$project_makefile`<\/OTHERFILE>"; \\r
- gcc_source_files=""; \\r
- for c_source_file in `find $$target_folder -name *.c`; do \\r
- source_files="$$source_files<SOURCEFILE>`basename $$c_source_file`<\/SOURCEFILE>"; \\r
- gcc_source_files="$$gcc_source_files<Name>`basename $$c_source_file`<\/Name>"; \\r
- done; \\r
- for c_header_file in `find $$target_folder -name *.h`; do \\r
- source_files="$$source_files<HEADERFILE>`basename $$c_header_file`<\/HEADERFILE>"; \\r
- gcc_source_files="$$gcc_source_files<Name>`basename $$c_header_file`<\/Name>"; \\r
- done; \\r
- for assembly_file in `find $$target_folder -name *.S`; do \\r
- source_files="$$source_files<OTHERFILE>`basename $$assembly_file`<\/OTHERFILE>"; \\r
- gcc_source_files="$$gcc_source_files<Name>`basename $$assembly_file`<\/Name>"; \\r
- done; \\r
- \\r
- sed "s/%TARGET%/$$target_name/g" AS4Template.aps > $$target_folder/$$target_name.aps.new; \\r
- sed "s/%CREATED%/$$as4_date/g" $$target_folder/$$target_name.aps.new > $$target_folder/$$target_name.aps.new2; \\r
- sed "s/%FILE_LIST%/$$source_files/g" $$target_folder/$$target_name.aps.new2 > $$target_folder/$$target_name.aps.new3; \\r
+ target_folder=`dirname $$project_makefile`; \\r
+ as4_date=`date "+%e-%b-%Y %H:%M:%S"`; \\r
+ \\r
+ if ( test -n "$$target_name" ); then \\r
+ echo Creating AS4 project for project $$target_name; \\r
+ \\r
+ source_files="<OTHERFILE>`basename $$project_makefile`<\/OTHERFILE>"; \\r
+ gcc_source_files=""; \\r
+ for c_source_file in `find $$target_folder -name *.c`; do \\r
+ source_filename=`basename $$c_source_file`; \\r
+ \\r
+ source_files="$$source_files<SOURCEFILE>$$source_filename<\/SOURCEFILE>"; \\r
+ gcc_source_files="$$gcc_source_files<Name>$$source_filename<\/Name>"; \\r
+ done; \\r
+ for c_header_file in `find $$target_folder -name *.h`; do \\r
+ source_filename=`basename $$c_header_file`; \\r
+ \\r
+ source_files="$$source_files<HEADERFILE>$$source_filename<\/HEADERFILE>"; \\r
+ gcc_source_files="$$gcc_source_files<Name>$$source_filename<\/Name>"; \\r
+ done; \\r
+ for assembly_file in `find $$target_folder -name *.S`; do \\r
+ source_filename=`basename $$assembly_file`; \\r
+ \\r
+ source_files="$$source_files<OTHERFILE>$$source_filename<\/OTHERFILE>"; \\r
+ gcc_source_files="$$gcc_source_files<Name>$$source_filename<\/Name>"; \\r
+ done; \\r
+ \\r
+ sed "s/%TARGET%/$$target_name/g" AS4Template.aps > $$target_folder/$$target_name.aps.new; \\r
+ sed "s/%CREATED%/$$as4_date/g" $$target_folder/$$target_name.aps.new > $$target_folder/$$target_name.aps.new2; \\r
+ sed "s/%FILE_LIST%/$$source_files/g" $$target_folder/$$target_name.aps.new2 > $$target_folder/$$target_name.aps.new3; \\r
sed "s/%GCC_FILE_LIST%/$$gcc_source_files/g" $$target_folder/$$target_name.aps.new3 > $$target_folder/$$target_name.aps.new4; \\r
- mv $$target_folder/$$target_name.aps.new4 $$target_folder/$$target_name.aps; \\r
- rm $$target_folder/$$target_name.aps.new $$target_folder/$$target_name.aps.new2 $$target_folder/$$target_name.aps.new3; \\r
+ mv $$target_folder/$$target_name.aps.new4 $$target_folder/$$target_name.aps; \\r
+ rm $$target_folder/$$target_name.aps.new $$target_folder/$$target_name.aps.new2 $$target_folder/$$target_name.aps.new3; \\r
fi; \\r
done;\r
@echo AVR Studio 4 project generation complete.\r
check-documentation-placeholders:\r
@echo Checking for release suitability...\r
@if ( grep "XXXXXX" $(LUFA_ROOT)/LUFA/DoxygenPages/*.txt > /dev/null ;); then \\r
- echo " ERROR: Doxygen documentation has not been updated for release!"; \\r
- exit 1; \\r
+ echo " ERROR: Doxygen documentation has not been updated for release!"; \\r
+ exit 1; \\r
fi;\r
- @if ( grep "000000" $(LUFA_ROOT)/LUFA/Version.h > /dev/null ;); then \\r
- echo " ERROR: Version header has not been updated for release!"; \\r
- exit 1; \\r
+ @if ( grep "000000" $(LUFA_ROOT)/LUFA/Version.h > /dev/null ;); then \\r
+ echo " ERROR: Version header has not been updated for release!"; \\r
+ exit 1; \\r
fi;\r
@echo Done.\r
\r