diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-04-07 16:40:20 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-04-07 16:40:20 +0000 |
| commit | 71eb4d8f9a4c2cc2a25cc29c0c0fe6190cf40a0e (patch) | |
| tree | f2044430626712b03d85283877d79ee687dab67b /LUFA | |
| parent | 55fa7ed6f3398a8e9e48ae9e956ada8d30b651a8 (diff) | |
Add main library makefile target "export_tar" to export a copy of the library codebase in TAR format, for each integration into user applications.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2134 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA')
| -rw-r--r-- | LUFA/makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/LUFA/makefile b/LUFA/makefile index 537fee9b..6242b9ce 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 |
