Use $(NAME) instead of hardwired name everywhere in makefile

This commit is contained in:
Panu Matilainen 2010-01-26 17:27:54 +02:00
parent a11368f98a
commit 631ba9b6fe

View File

@ -17,7 +17,7 @@ tag-archive:
git tag -a $(CVSTAG)
create-archive:
git archive --format=tar --prefix=redhat-rpm-config-$(VERSION)/ HEAD | bzip2 -9v > redhat-rpm-config-$(VERSION).tar.bz2
git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD | bzip2 -9v > $(NAME)-$(VERSION).tar.bz2
@echo "The final archive is in $(NAME)-$(VERSION).tar.bz2"
archive: tag-archive create-archive