Add main library makefile target "export_tar" to export a copy of the library codebase in TAR format, for each integration into user applications.

This commit is contained in:
Dean Camera 2012-04-07 16:40:20 +00:00
parent 8b4fe84163
commit 0fb92f0441
1 changed files with 6 additions and 1 deletions

View File

@ -88,9 +88,14 @@ ifeq ($(origin LUFA_PATH), undefined)
rm -rf Documentation rm -rf Documentation
checksource: checksource:
export_tar:
@echo Exporting LUFA library to a TAR archive...
@tar -cf LUFA_`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`.tar --directory=. --exclude=Documentation --exclude=CodeTemplates --exclude=*.tar *
@echo Export LUFA_`grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`.tar complete.
version: version:
@echo "LUFA `grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`" @echo "LUFA `grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`"
.PHONY: all clean clean_list doxygen clean_doxygen version .PHONY: all clean clean_list doxygen clean_doxygen checksource export_tar version
endif endif