blob: c475b19c052a8fa66bb07cb25dbf36f06da34a31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SUBDIRS = stm32
.PHONY : tar tar-%
# To get ID from a tar archive just run:
# zcat nonrec-make.tgz | git get-tar-commit-id
tar : tar-HEAD
tar-% :
commit=$(subst tar-,,$@);\
tarname=z180-stamp-$$(git describe --tags $$commit).tgz;\
echo Archiving $$commit to $$tarname;\
git archive $$commit mk | gzip > $$tarname
# vim: set ft=make :
|