aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-04-07 16:40:20 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-04-07 16:40:20 +0000
commit0fb92f044100bab1e473cddcdd4c659d28a40895 (patch)
treef2044430626712b03d85283877d79ee687dab67b /LUFA/makefile
parent8b4fe8416326d9da7b2f4ac304372da12904a9a9 (diff)
downloadlufa-0fb92f044100bab1e473cddcdd4c659d28a40895.tar.gz
lufa-0fb92f044100bab1e473cddcdd4c659d28a40895.tar.bz2
lufa-0fb92f044100bab1e473cddcdd4c659d28a40895.zip
Add main library makefile target "export_tar" to export a copy of the library codebase in TAR format, for each integration into user applications.
Diffstat (limited to 'LUFA/makefile')
-rw-r--r--LUFA/makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/LUFA/makefile b/LUFA/makefile
index 537fee9b5..6242b9cef 100644
--- a/LUFA/makefile
+++ b/LUFA/makefile
@@ -88,9 +88,14 @@ ifeq ($(origin LUFA_PATH), undefined)
rm -rf Documentation
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:
@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