summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2005-07-15 01:20:25 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-15 18:38:24 (GMT)
commitd7b8a164e4dff577f84eb89d6b1ac036ce973fc9 (patch)
treeb8c45f1cace23f24938bb140e5ac77d937d202e2
parentc818566d5c585f9f82dabfbed82edcdd89ba4e5b (diff)
downloadgit-d7b8a164e4dff577f84eb89d6b1ac036ce973fc9.zip
git-d7b8a164e4dff577f84eb89d6b1ac036ce973fc9.tar.gz
git-d7b8a164e4dff577f84eb89d6b1ac036ce973fc9.tar.bz2
[PATCH] Add a RPMBUILD make variable
This allows RPMBUILD to be overridden for people with old versions of rpm or people who want to pass rpmbuild extra options. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4bc3665..34a54a8 100644
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ bin=$(prefix)/bin
CC=gcc
AR=ar
INSTALL=install
+RPMBUILD=rpmbuild
#
# sparse is architecture-neutral, which means that we need to tell it
@@ -186,7 +187,7 @@ dist: git-core.spec git-tar-tree
gzip -9 $(GIT_TARNAME).tar
rpm: dist
- rpmbuild -ta git-core-$(GIT_VERSION).tar.gz
+ $(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
test: all
$(MAKE) -C t/ all