Use $(NAME) instead of hardwired name everywhere in makefile
This commit is contained in:
parent
a11368f98a
commit
631ba9b6fe
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ tag-archive:
|
|||||||
git tag -a $(CVSTAG)
|
git tag -a $(CVSTAG)
|
||||||
|
|
||||||
create-archive:
|
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"
|
@echo "The final archive is in $(NAME)-$(VERSION).tar.bz2"
|
||||||
|
|
||||||
archive: tag-archive create-archive
|
archive: tag-archive create-archive
|
||||||
|
Loading…
Reference in New Issue
Block a user