diff --git a/Makefile b/Makefile index 4bc3665f2d1970cbbdfeece53e7346bd79b8536c..34a54a8633eb8d20b8f0b51c1683474f3655381e 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