From: Leonidas Poulopoulos Date: Wed, 15 Feb 2012 10:42:19 +0000 (+0200) Subject: Merge branch 'master' of https://code.grnet.gr/git/flowspy X-Git-Tag: v0.8.0^0 X-Git-Url: https://code.grnet.gr/git/flowspy/commitdiff_plain/7658f73b6f6aafbd1513d10905d7ff14a4dd4288?hp=dbdc30ec54324729c466059ae735e34b79ba70ef Merge branch 'master' of https://code.grnet.gr/git/flowspy --- diff --git a/Makefile b/Makefile index 0dd47e7..8eef461 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ flowspytag = $(shell git describe --abbrev=0) -flowspyver = $(shell git describe --abbrev=0 | egrep -o '([0-9]\.){1,10}[0-9]') +flowspyver = $(shell git describe --abbrev=0 | egrep -o '([0-9]+\.){1,10}[0-9]+') +name = $(shell basename $(shell pwd)) .PHONY: dist distclean dist: - git archive --format tar --prefix flowspy-$(flowspyver)/ -o flowspy-$(flowspyver).tar $(flowspytag) - gzip -f flowspy-$(flowspyver).tar + git archive --format tar --prefix $(name)-$(flowspyver)/ -o $(name)-$(flowspyver).tar $(flowspytag) + gzip -f $(name)-$(flowspyver).tar distclean: @rm -f *tar.gz