Statistics
| Branch: | Tag: | Revision:

root / Makefile @ c15e41ac

History | View | Annotate | Download (388 Bytes)

1
flowspytag = $(shell git describe --abbrev=0)
2
flowspyver = $(shell git describe --abbrev=0 | egrep -o '([0-9]+\.){1,10}[0-9]+' | sed -e 's/\./_/g')
3
name   	   = $(shell basename $(shell pwd))
4

    
5
.PHONY: dist distclean
6

    
7
dist: 
8
	git archive --format tar --prefix $(name)-$(flowspyver)/ -o $(name)-$(flowspyver).tar $(flowspytag)
9
	gzip -f $(name)-$(flowspyver).tar
10
distclean:
11
	@rm -f *tar.gz
12