VERSION = $(shell grep "^Version:" deployment-testing.spec | sed 's/^Version: *//') all: dist: git archive --prefix=deployment-testing-$(VERSION)/ HEAD | gzip > deployment-testing-$(VERSION).tar.gz .PHONY: dist