root / Makefile @ 2d16f010
History | View | Annotate | Download (368 Bytes)
1 | 91d0ded3 | Alexandros Kosiaris | flowspytag = $(shell git describe --abbrev=0) |
---|---|---|---|
2 | 796ee84e | Alexandros Kosiaris | flowspyver = $(shell git describe --abbrev=0 | egrep -o '([0-9]+\.){1,10}[0-9]+') |
3 | 796ee84e | Alexandros Kosiaris | name = $(shell basename $(shell pwd)) |
4 | 91d0ded3 | Alexandros Kosiaris | |
5 | 91d0ded3 | Alexandros Kosiaris | .PHONY: dist distclean |
6 | 91d0ded3 | Alexandros Kosiaris | |
7 | 91d0ded3 | Alexandros Kosiaris | dist: |
8 | 796ee84e | Alexandros Kosiaris | git archive --format tar --prefix $(name)-$(flowspyver)/ -o $(name)-$(flowspyver).tar $(flowspytag) |
9 | 796ee84e | Alexandros Kosiaris | gzip -f $(name)-$(flowspyver).tar |
10 | 91d0ded3 | Alexandros Kosiaris | distclean: |
11 | 91d0ded3 | Alexandros Kosiaris | @rm -f *tar.gz |