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