Browse Source

[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>
maint
Eric W. Biederman 20 years ago committed by Linus Torvalds
parent
commit
d7b8a164e4
  1. 3
      Makefile

3
Makefile

@ -21,6 +21,7 @@ bin=$(prefix)/bin @@ -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 @@ -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

Loading…
Cancel
Save