]> cloudbase.mooo.com Git - z180-stamp.git/blob - Rules.top
c475b19c052a8fa66bb07cb25dbf36f06da34a31
[z180-stamp.git] / Rules.top
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 :