2 VERSION := $(shell awk '/Version:/ { print $$2 }' $(NAME).spec)
7 @echo Sanity checking selected files....
13 ./serviceslint ./services
16 @git tag -a -m "Tag as $(TAG)" -f $(TAG)
19 @git-archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 > $(NAME)-$(VERSION).tar.bz2
20 @echo "The archive is at $(NAME)-$(VERSION).tar.bz2"
22 archive: tag-archive create-archive