[redhat-rpm-config: 156/215] Use $(NAME) instead of hardwired name everywhere in makefile

Panu Matilainen pmatilai at fedoraproject.org
Wed Apr 2 10:31:30 UTC 2014


commit 631ba9b6fe498fbc1e2a9c5f2955b4fa7a174a8c
Author: Panu Matilainen <pmatilai at redhat.com>
Date:   Tue Jan 26 17:27:54 2010 +0200

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

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index 23c7685..f212d9a 100644
--- a/Makefile
+++ b/Makefile
@@ -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


More information about the scm-commits mailing list